home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 11 / Cream of the Crop 11-2.iso / os2 / pmp40b.zip / PMPATROL.INF (.txt) < prev    next >
OS/2 Help File  |  1996-01-01  |  139KB  |  5,123 lines

  1.  
  2. ΓòÉΓòÉΓòÉ 1. License Information ΓòÉΓòÉΓòÉ
  3.  
  4.                                   PM Patrol(tm)
  5.  
  6. (c) Copyright 1993-95, WallyWare, All rights reserved.
  7.  
  8. Unregistered copies of PM Patrol are freely distributable and copying is 
  9. encouraged. If you like it, tell a friend. If not, tell us. 
  10.  
  11. PM Patrol is supplied "as is" without any warranties either expressed or 
  12. implied. 
  13.  
  14. IN NO EVENT WILL WALLYWARE BE LIABLE TO YOU FOR ANY INCIDENTAL, SPECIAL, 
  15. PUNITIVE, EXEMPLARY, OR CONSEQUENTIAL DAMAGES ARISING FROM OR CONNECTED WITH 
  16. THIS AGREEMENT OR USE OF THIS PRODUCT, REGARDLESS WHETHER WE KNOW OR HAVE 
  17. REASON TO KNOW OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES MAY NOT ALLOW 
  18. EXCLUSION OF INCIDENTAL OR CONSEQUENTIAL DAMAGES AND SO THE FOREGOING EXCLUSION 
  19. MAY NOT APPLY TO YOU. 
  20.  
  21. The version of PM Patrol is distributed under a Software License Agreement 
  22. which is included with this version of PM Patrol and available for preview 
  23. without registration required. 
  24.  
  25. If you have any questions about your rights or responsibilities concerning the 
  26. use of this product please contact: 
  27.  
  28. WallyWare
  29. 2210 Kingston Drive
  30. Wheaton, Illinois  60187  USA
  31.  
  32. Phone:    1-708-510-7412 (1-630-510-7412 after 7/96)
  33. Internet:  wally@interaccess.com
  34. CompuServe: 72702,2320
  35.  
  36.  
  37. ΓòÉΓòÉΓòÉ 2. Introduction ΓòÉΓòÉΓòÉ
  38.  
  39.                                   PM Patrol(tm)
  40.  
  41. PM Patrol is robust, yet easy to use resource monitoring and management 
  42. software for OS/2 version 2.1 and higher.  The software is ShareWare. 
  43.  
  44. Allow me to introduce PM Patrol and describe some quick-hits to help you get 
  45. going.  This introduction is brief, but important. 
  46.  
  47. To identify the current version, the licensed name, and serial number for this 
  48. copy of PM Patrol, refer to "Product Information" accessable from several PM 
  49. Patrol menus. The serial number is necessary when seeking technical support 
  50. from WallyWare. 
  51.  
  52. PM Patrol is designed to run all the time, from bootup to shutdown. Always 
  53. visible and accessible, PM Patrol offers quick access to many different 
  54. monitors and related utilities. 
  55.  
  56. PM Patrol allows you to monitor and track several different resources of your 
  57. OS/2 system. These resources are presented to you in a very unintrusive and 
  58. meaningful display providing you insight into current system activities. The 
  59. appearance of PM Patrol has maintained the attitude that this tool should be 
  60. visible, yet not use valuable desktop space. 
  61.  
  62. PM Patrol has a broad appeal. The information PM Patrol provides is valuable to 
  63. a number of audiences including novices, heavy users, and software engineers 
  64. and developers. Some PM Patrol monitors and utility items are geared more 
  65. toward software developers, but the majority of PM Patrol is valuable to 
  66. anyone. 
  67.  
  68. To help you get going with PM Patrol right now, the following itemizes 
  69. quick-hit topics: 
  70.  
  71.    1. PM Patrol provides 2 quick ways of getting around. Place the mouse 
  72.       pointer on the PM Patrol Status Line. If the Status Line is located at 
  73.       the bottom of the desktop screen, the mouse pointer changes to let you 
  74.       know your're "talking" to PM Patrol. Otherwise, the mouse pointer remains 
  75.       the same. The left mouse button acts different than the right. 
  76.  
  77.    2. From the PM Patrol Status Line, double clicking the left mouse button 
  78.       invokes the PM Patrol "Options" dialog. This dialog allows you to select 
  79.       and/or change PM Patrol Status Line monitors, configuration settings, 
  80.       color and font settings, various OS/2 system settings, and provides an 
  81.       alternative method for accessing PM Patrol "Utility" items. 
  82.  
  83.    3. From the PM Patrol Status Line, single clicking the right mouse button 
  84.       invokes the PM Patrol "Utility" popup menu. After you configure PM Patrol 
  85.       to your personal preferences, this "Utility" popup menu will typically 
  86.       become the primary access method to PM Patrol features. 
  87.  
  88.    4. The PM Patrol icon in the "Utility" popup menu invokes the Table of 
  89.       Contents for PM Patrol help. 
  90.  
  91.    5. When invoked, the "Utility" popup menu is intelligent based on the 
  92.       location of the mouse pointer within the PM Patrol Status Line: 
  93.  
  94.         a. If the mouse pointer is within 1 inch of the LEFT side of the Status 
  95.            Line (leftmost 1 inch on VGA), the Utility popup menu will 
  96.            automatically display the PM Patrol Program List for quick access to 
  97.            your favorite programs. 
  98.  
  99.         b. Similarly, if the mouse pointer is within 1 inch of the RIGHT side 
  100.            of the Status Line, the Utility popup menu will automatically 
  101.            display the PM Patrol Desktop List for quick access to commonly used 
  102.            OS/2 WorkPlace Shell folders. 
  103.  
  104.         c. Otherwise, the Utility popup menu is displayed with the default menu 
  105.            item being PM Patrol Process Monitor option. 
  106.  
  107.  PM Patrol is feature rich. For a complete description of PM Patrol features 
  108.  and details, refer to Features and Product Information sections of this 
  109.  on-line help. To see how PM Patrol compares to other OS/2 resource monitor 
  110.  software, refer to the online help section "Comparative Matrix" also under 
  111.  Product Information. 
  112.  
  113.  Packaged with PM Patrol are several OS/2 32-bit Command Line utilities. These 
  114.  utilities complement the PM Patrol personality and are described in detail in 
  115.  the "Command Line Utilities" section of this on-line help. 
  116.  
  117.  The on-line help describes all facets of PM Patrol. Whenever you are in the PM 
  118.  Patrol on-line help, you can always view the Table of Contents by selecting 
  119.  "Contents" under the "Options" menu item. 
  120.  
  121.  The on-line help contains a section called "Trouble Shooting". If you ever 
  122.  experience difficulties or potential problems with PM Patrol, refer to this 
  123.  section of on-line help. It discusses topics of potential difficulty, 
  124.  compatibility, and idiosyncrasies of PM Patrol features. Everyone should read 
  125.  this section. 
  126.  
  127.  
  128. ΓòÉΓòÉΓòÉ 3. Hardware/Software Requirements ΓòÉΓòÉΓòÉ
  129.  
  130. PM Patrol carries the following requirements, some of which are options to PM 
  131. Patrol: 
  132.  
  133.    1. PM Patrol requires IBM OS/2 version 2.1 or higher. 
  134.  
  135.    2. Multmedia features requires IBM MMPM/2 for OS/2 be installed. 
  136.  
  137.    3. Network monitoring features requires IBM LAN Requester be installed on 
  138.       the local workstation. NetWare for OS/2 is not currently supported. 
  139.  
  140.    4. Internet Connect-Time feature requires modem connection using the 
  141.       "Point-to-Point Protocol" (PPP) or "Serial Line IP" (SLIP) of IBM's 
  142.       Internet Access Kit. 
  143.  
  144.    5. PM Patrol's Free Memory algorithm requires a 32-bit disk controller for 
  145.       memory configurations with more than 16 MB. Strict ISA bus architectures 
  146.       found on most 386 class computers are most likely equipped with 16-bit 
  147.       disk controllers. 
  148.  
  149.  
  150. ΓòÉΓòÉΓòÉ 4. Installation ΓòÉΓòÉΓòÉ
  151.  
  152. To install PM Patrol, run the INSTALL.EXE program from the distribution 
  153. diskette. 
  154.  
  155. The PM Patrol installation prompts you for a number of items and will install 
  156. all necessary files into a subdirectory of your choice for the PM Patrol 
  157. program files. 
  158.  
  159. The installation program also asks you if you want to create the OS/2 Desktop 
  160. objects and "shadow" copy  of PM Patrol in your OS/2 "Startup Folder". Refer to 
  161. the OS/2 WorkPlace Shell user guide for any additional help regarding the 
  162. Startup Folder. 
  163.  
  164. If you are using the real-time Data Collection Facility APIs, append the 
  165. installation path used for PM Patrol to the following statements in your 
  166. CONFIG.SYS file: 
  167.  
  168.    1. "LIBPATH" statement for the API DLL (PMPAPI.DLL). 
  169.  
  170.    2. "LIB" statement for the API import library (PMPAPI.LIB). 
  171.  
  172.    3. "INCLUDE" statement for the API C/C++ header (PMPAPI.H). 
  173.  
  174.  If you are using the real-time Debug Facility, append the installation path 
  175.  used for PM Patrol to the following statements in your CONFIG.SYS file: 
  176.  
  177.    1. "LIBPATH" statement for the API DLL (DBUGAPI.DLL). 
  178.  
  179.    2. "LIB" statement for the API import library (DBUGAPI.LIB). 
  180.  
  181.    3. "INCLUDE" statement for the API C/C++ header (DBUG.H). 
  182.  
  183.  After PM Patrol is installed and the first time you run it, the "Product 
  184.  Information" dialog appears along with the "Product Activation" dialog. This 
  185.  is your opportunity to enter your Name and the Serial number for your copy of 
  186.  PM Patrol. 
  187.  
  188.  It is VERY important that you enter the Serial number correctly. If you make a 
  189.  mistake, select "Register" from the "Product Information" dialog and try 
  190.  again. Once entered, this information is saved. 
  191.  
  192.  Note:  If you want to move PM Patrol to another machine, repeat the 
  193.  installation process along with entering your Name and Serial number again. 
  194.  
  195.  PM Patrol contains a few STARTUP command line options: 
  196.  
  197.    1. "-Q" is used to omit the PM Patrol logo window at startup. When 
  198.       specified, the little PM Patrol logo window at startup will NOT be 
  199.       displayed. 
  200.  
  201.    2. "-H" is used to start PM Patrol in a HIDDEN state. This is advantageous 
  202.       for some users - particularly when the user is only interested in the DCF 
  203.       component. Use the OS/2 Window List to "unhide" the window. This also 
  204.       lends itself to workstations which are used exclusively for real-time 
  205.       operations and/or data acquisition and wish to use the Logger component 
  206.       of PM Patrol. When enabled, any selected Auto-Start monitor windows in PM 
  207.       Patrol (ie. Memory, Process, Network, etc.) will not be started - with 
  208.       the exception of auto-starting the Debug or Logging facilities. These two 
  209.       items, if selected to auto-start, will be started as usual. 
  210.  
  211.    3. "-S" is used to start PM Patrol in SECURED state. When enabled, PM Patrol 
  212.       does not appear in the OS/2 Window List and is not able to be "killed". 
  213.       The user MUST close PM Patrol via the normal PM Patrol mechanism. 
  214.       "Secured" mode is provided primarily to complement the PM Patrol password 
  215.       security offered. 
  216.  
  217.    4. "-W" is used to keep PM Patrol windows from appearing in the OS/2 Window 
  218.       List. This is an alternative option to "-S" but acts only on Window List 
  219.       access. 
  220.  
  221.    5. "-C" can be used to put PM Patrol in a "time critical" priority class for 
  222.       a high level of responsiveness. By default, the main PM Patrol thread 
  223.       operates in a "foreground" priority class and is adequate for most 
  224.       systems. Where PM Patrol and it's DCF readings require absolute timing, 
  225.       this option can be used. Typically, this option lends itself to 
  226.       workstations used for real-time purposes or benchmarking applications 
  227.       which are CPU intensive. Using this startup option may be too aggressive 
  228.       for low-end systems (i386 or most SX CPUs). Furthermore, where seamless 
  229.       DOS+Windows programs are used often, this startup option should be 
  230.       avoided due to the nature of performance issues associated with VDMs 
  231.       (Virtual DOS Machines) under OS/2. 
  232.  
  233.    6. "-P" is used when you wish to disable the PM Patrol Port Monitoring 
  234.       facility. By default, this option is enabled. When disabled, absolutely 
  235.       no port monitoring is performed and this features within PM Patrol is 
  236.       made inaccessible. 
  237.  
  238.  When both HIDDEN and SECURED are enabled, these two parameters cause PM Patrol 
  239.  to operate in complete detached mode and 100% secured from user interaction 
  240.  and intervention. This mode of operation lends itself to LAN administrators 
  241.  and real-time operations who wish to monitor workstations using the DCF and 
  242.  Network components of PM Patrol without involving the workstation user. 
  243.  
  244.  
  245. ΓòÉΓòÉΓòÉ 4.1. Uninstall ΓòÉΓòÉΓòÉ
  246.  
  247. To Uninstall PM Patrol from your system: 
  248.  
  249.    1. Exit PM Patrol if currently active. 
  250.  
  251.    2. Delete the PM Patrol folder from the OS/2 Desktop. 
  252.  
  253.    3. If you selected PM Patrol to startup automatically via the OS/2 desktop 
  254.       "Startup" folder, then delete the program object from this folder as 
  255.       well. 
  256.  
  257.    4. Delete the PM Patrol directory (i.e. C:\PMP) and all the files within the 
  258.       directory. 
  259.  
  260.  Note:  PM Patrol does not modify your CONFIG.SYS file. Unless you make changes 
  261.  to your CONFIG.SYS to use PM Patrol's programming APIs, there are no 
  262.  modifications necessary to CONFIG.SYS for removing PM Patrol. 
  263.  
  264.  
  265. ΓòÉΓòÉΓòÉ 5. Order and Pricing ΓòÉΓòÉΓòÉ
  266.  
  267. Thank you for trying PM Patrol.  If PM Patrol proves useful and you wish to 
  268. continue using PM Patrol, you may register by credit card, check, and SWREG via 
  269. Compuserve.  These registration methods are described below. 
  270.  
  271. ===============================================================
  272. Ordering PM Patrol via Check
  273. ===============================================================
  274. Complete the following registration form below and send it
  275. along with your payment to:
  276.  
  277.      Dave Wallenberg
  278.      Attn: WallyWare
  279.      2210 Kingston Drive
  280.      Wheaton, IL  60187  USA
  281.  
  282. Product:  PM Patrol for OS/2 (version 4.x family)
  283. Quantity: _____ Single  $25         _____ 5  Pack $100
  284.      _____ Upgrade $15         _____ 25 Pack $350
  285.  
  286. Name:   ____________________________________________________
  287. Address:  ____________________________________________________
  288.      ____________________________________________________
  289. City:   ____________________________________________________
  290. State:   _____  Zip: _________  Country:  __________________
  291.  
  292. Internet Id:    ____________________________________________
  293. CompuServe Id:   ____________________________________________
  294.  
  295. Comments? ____________________________________________________
  296.      ____________________________________________________
  297.  
  298. Where you obtained PM Patrol?  _______________________________
  299.  
  300.  
  301. ===============================================================
  302. Ordering PM Patrol via Compuserve SWREG
  303. ===============================================================
  304. Compuserve members may register PM Patrol via GO SWREG:
  305.  
  306.  PM Patrol (4.x Single Copy)      Registration Id: 8991
  307.  
  308.  PM Patrol (4.x Upgrade Only)      Registration Id: 9016
  309.  Previous registration will be verified by WallyWare.
  310.  
  311.  
  312. ===============================================================
  313. Ordering PM Patrol via Credit Card
  314. ===============================================================
  315. MasterCard, Visa, American Express, and Discover orders for
  316. PM Patrol must be placed through PsL, a credit card order taking
  317. service.  You can reach PsL 24 hours a day, 7 days a week by:
  318.  
  319.  Fax:     1-713-524-6398
  320.  CompuServe: 71355,470
  321.  Internet:  71355.470@compuserve.com
  322.  
  323.  Voice:    1-800-242-4775 or 1-713-524-6394
  324.        7am -  6pm CST Monday-Thursday
  325.        7am - 12pm CST on Fridays, except holidays.
  326.  
  327.  Mail:    Credit card orders can also be mailed to PsL at:
  328.        P.O. Box 35705, Houston, TX 77235  USA.
  329.  
  330. The following is needed by PsL for credit card order processing.
  331. Be sure to specify your email account if you have one.  PsL
  332. notifies WallyWare within 24 hours after receiving your order so
  333. a PM Patrol product serial number can be generated and sent to
  334. you promptly.
  335.  
  336.  Product Id:     14363 (PM Patrol)
  337.  Quantity:      ____ Single  $25     ____  5-Pack $100
  338.            ____ Upgrade $15     ____ 25-Pack $350
  339.  
  340.  Credit Card:     [_] MC  [_] VISA  [_] AMEX  [_] Discover
  341.  Credit Card Number: __________________________________________
  342.  Expiration Date:   __________________________________________
  343.  Name On Card:    __________________________________________
  344.  Billing Address:   __________________________________________
  345.            __________________________________________
  346.            __________________________________________
  347.  
  348.  Internet Id:     __________________________________________
  349.  Compuserve Id:    __________________________________________
  350.  
  351.  
  352. Please note:
  353.  WallyWare CAN NOT be reached at the numbers above.  These
  354.  numbers are for PsL - CREDIT CARD ORDERS ONLY.
  355.  
  356.  Any questions about the status of the shipment of an order,
  357.  refunds, registration options, product details, technical
  358.  support, volume discounts, dealer pricing, site licenses,
  359.  etc., must be directed to WallyWare.
  360.  
  361.  
  362. ===============================================================
  363. Receiving your PM Patrol Product Serial Number:
  364. ===============================================================
  365. You're Product Serial number is assigned by WallyWare after
  366. purchasing PM Patrol.  After you receive this code, enter it,
  367. (along with your name) in PM Patrol's Product Registration window.
  368.  
  369.  E-Mail shipment:
  370.    For E-Mail users on Internet or Compuserve, your PM Patrol
  371.    product serial number will be sent via email usually within
  372.    24 hours after receipt of your PM Patrol purchase.
  373.  
  374.  Air-Mail shipment:
  375.    For users without email access, WallyWare will send via
  376.    First Class Air mail a 3 1/2 diskette containing the latest
  377.    version of PM Patrol and an invoice with your product serial
  378.    number.  Please allow 5-10 days for shipping.
  379.  
  380.  
  381. PM Patrol is posted on several popular sites.  The following sites
  382. receive uploads of PM Patrol directly from WallyWare.  If you have
  383. a more convenient ftp or download site, let us know.
  384.  
  385. Files will typically carry the format PMPxy.ZIP where X identifies
  386. the major release.  Y represents the minor release.  The current
  387. version of PM Patrol is 4.0b, PMP40b.ZIP.
  388.  Compuserve               (OS2BVEN Shareware)
  389.  FTP: hobbes.nmsu.edu          (/os2/wpsutil)
  390.  FTP: ftp-os2.cdrom.com         (/pub/os2/sysutil)
  391.  BBS: Chicago online OS/2        (1-708-895-4042  8N1)
  392.  BBS: Peter Norloff's OS/2 Shareware   (1-703-385-4325  8N1)
  393.  WEB: www.os2.hammer.org/OS2
  394.  WEB: www.leo.org/archive/os2
  395.  
  396.  
  397. Thank you for choosing PM Patrol.  And, enjoy...
  398. Dave Wallenberg, WallyWare
  399.  
  400. Internet:  wally@interaccess.com
  401. Compuserve: 72702,2320
  402. Phone:    1-708-510-7412 (1-630-510-7412 after 7/96)
  403.  
  404.  
  405. ΓòÉΓòÉΓòÉ 6. Support ΓòÉΓòÉΓòÉ
  406.  
  407. Sales and Technical Support for PM Patrol and other WallyWare products are 
  408. available through phone, CompuServe (OS2SHARE), and Internet. 
  409.  
  410. In most cases, phone support will require you to leave a message for WallyWare. 
  411. We will return domestic US calls as soon as possible usually within 48 hours. 
  412. Email support can usually count on response within 48 hours. 
  413.  
  414. PM Patrol is posted to and can be downloaded from the following electronic 
  415. repositories. The file name is typically PMPxy.ZIP where "xy" represents the 
  416. major/minor version number. 
  417.  
  418.  Compuserve               (OS2BVEN Shareware)
  419.  FTP: hobbes.nmsu.edu          (/os2/wpsutil)
  420.  FTP: ftp-os2.cdrom.com         (/pub/os2/sysutil)
  421.  BBS: Chicago online OS/2        (1-708-895-4042  8N1)
  422.  BBS: Peter Norloff's OS/2 Shareware   (1-703-385-4325  8N1)
  423.  WEB: www.os2.hammer.org/OS2
  424.  WEB: www.leo.org/archive/os2
  425.  
  426.  
  427. WallyWare
  428. 2210 Kingston Drive
  429. Wheaton, Illinois  60187  USA
  430.  
  431. Phone:    1-708-510-7412 (1-630-510-7412 after 7/96)
  432. Internet:  wally@interaccess.com
  433. CompuServe: 72702,2320
  434.  
  435.  
  436. ΓòÉΓòÉΓòÉ 7. Product Information ΓòÉΓòÉΓòÉ
  437.  
  438. This section describes what PM Patrol is and what it offers 
  439.  
  440.  
  441. ΓòÉΓòÉΓòÉ 7.1. What is It? ΓòÉΓòÉΓòÉ
  442.  
  443. PM Patrol is robust yet easy to use resource monitoring and management 
  444. software, for OS/2 versions 2.1 and higher. The monitors, frequency of resource 
  445. samples, preferences, size and placement of windows are user selectable 
  446. allowing complete customization. 
  447.  
  448. Always accessible, PM Patrol extends the OS/2 desktop by providing insight into 
  449. current system activities and resource utilization. 
  450.  
  451. The quick-access utility items include a program launcher, program scheduler, 
  452. print/spooler functions, Fast Find, and much more. 
  453.  
  454. The numerous resource monitors that PM Patrol provides can be logged for later 
  455. review or accessed dynamically with the Data Collection Facility APIs. Recorded 
  456. as text, the logged data can be manipulated using tools such as Rexx, AWK, 
  457. GREP, and custom C/C++ programs. 
  458.  
  459. The appearance of PM Patrol has maintained the attitude that the tool should be 
  460. visible, yet not use valuable desktop space. As a result, the main Status Line 
  461. is displayed at the bottom of the display (as default). 
  462.  
  463.  
  464. ΓòÉΓòÉΓòÉ 7.2. Why do I need it? ΓòÉΓòÉΓòÉ
  465.  
  466. PM Patrol offers numerous and intuitive selections for monitoring OS/2 status 
  467. and activities: 
  468.  
  469.    1. Display current Date/Time with optional synchronization to network 
  470.       server. 
  471.  
  472.    2. System up-time for workstation 
  473.  
  474.    3. Internet Connect-Time for workstation (requires IBM's Internet Access 
  475.       Kit). 
  476.  
  477.    4. Network user ID, Domain, server, and network I/O traffic for the 
  478.       workstation 
  479.  
  480.    5. Processes, threads, DLLs, drivers, and shared memory activity 
  481.  
  482.    6. Event monitoring and notification of critical OS/2 resources and 
  483.       thresholds. 
  484.  
  485.    7. CPU activity per Process and Thread in graphical view 
  486.  
  487.    8. Complete drive summary and detail information with graphical utilization 
  488.  
  489.    9. Local or remote print spooler jobs on a per queue basis 
  490.  
  491.   10. Disk Drives on-line (including network drives) 
  492.  
  493.   11. Free space for selected drives (up to 6 drives including network drives) 
  494.  
  495.   12. OS/2 swap activity 
  496.  
  497.   13. Identify system levels for OS/2 component installed 
  498.  
  499.   14. OS/2 free real and virtual memory activity 
  500.  
  501.   15. Active number of OS/2 processes and threads 
  502.  
  503.   16. CPU utilization (current vs. rolling average over last 1 minute) 
  504.  
  505.   17. Battery status for mobile computers 
  506.  
  507.   18. Graphical views of memory, CPU usage, and swapping 
  508.  
  509.  PM Patrol contains a suite of robust utility and OS/2 desktop functions: 
  510.  
  511.    1. Robust monitoring of OS/2 processes and threads (Process Monitor window) 
  512.       with ability to monitor CPU utilization per process, memory used per 
  513.       process, process priorities, and "kill" ill-behaved programs. 
  514.  
  515.    2. Process Meter features provides unattended operation and automatic 
  516.       collection of process statistics for identifying duration, CPU 
  517.       consumption, and instances over a range of time. 
  518.  
  519.    3. Quick-access program launcher with priority control 
  520.  
  521.    4. Quick-access program scheduler with priority control for timed events 
  522.  
  523.    5. Network Monitor and I/O statistics for workstation 
  524.  
  525.    6. Summary and detailed information of drives 
  526.  
  527.    7. Summary and detailed information of OS/2 configuration and environment 
  528.  
  529.    8. Changing the mouse and wait pointers in OS/2 
  530.  
  531.    9. Fast Find files (pattern, size, last access, attributes, network drives) 
  532.  
  533.   10. Fast Help for all OS/2 and Windows help information files on-line 
  534.  
  535.   11. Fast access to WorkPlace Shell object classes 
  536.  
  537.   12. Find duplicate files 
  538.  
  539.   13. Drive utilization and analysis with graphical distribution 
  540.  
  541.   14. Fast Format diskettes 
  542.  
  543.   15. Print queue management 
  544.  
  545.   16. Identify system levels for OS/2 component installed 
  546.  
  547.   17. Minimize all visible windows (and restore all minimized windows) 
  548.  
  549.   18. Security to protect PM Patrol settings and configuration for stand-alone 
  550.       and network use 
  551.  
  552.   19. Suspending power for mobile computers (sleep mode) 
  553.  
  554.   20. Suspending PM Patrol monitors 
  555.  
  556.   21. Forced OS/2 shutdown 
  557.  
  558.   22. Changing mouse and wait pointers for all display types 
  559.  
  560.   23. Set system date and time 
  561.  
  562.   24. Several command-line utilities such as Fast Find and Find Duplicate 
  563.       files, Print Spooler Management, and more 
  564.  
  565.   25. API interfaces to retrieve real-time statistics from PM Patrol 
  566.  
  567.  
  568. ΓòÉΓòÉΓòÉ 7.3. Comparative Matrix ΓòÉΓòÉΓòÉ
  569.  
  570. =====================================================================
  571.       Item          PM Patrol  SPM/2  CpuMon  Pegasus
  572. =====================================================================
  573. Low memory requirements        x             x
  574. Low CPU requirements          x     x        x
  575. Network monitoring (1)         x
  576. CPU monitoring             x     x    x     x
  577. Magnified CPU monitoring        x
  578. LPT Port monitoring          x         x     x
  579. COM Port monitoring                   x     x
  580. Process monitors            x         x     x
  581. Free Memory monitor          x     x    x     x
  582. Virtual Memory monitor         x     x
  583. Resident Memory monitor        x     x
  584. Memory Per Process monitor            x    x
  585. Swap free and size monitor       x     x    x     x
  586. Drive monitoring            x     x    x     x
  587. Drive Cache monitors (2)        x             x
  588. Drive utilization mapping       x
  589. Power Mgmt Monitoring and Control   x
  590. Inconspicuous monitor display     x
  591. Real-time Data Collection Facility   x     x        x
  592. C/C++ API interfaces          x     x        x
  593. Quick access program Launcher     x
  594. Build-in program Scheduler       x
  595. Line graph displays          x     x        x
  596. Selective logging           x         x     x
  597. Print spooler mgmt and control     x
  598. System and Configuration Info.     x
  599. Performance tuning guide        x
  600. Desktop/WorkPlace Shell utilities   x
  601. Software testing tools         x
  602. Event Monitoring w/Alarms       x
  603. Multimedia Enabled           x
  604. Internet Access Monitoring       x
  605. Fast access to system help files    x
  606. Robust Process Metering        x
  607. Low cost                x
  608.  
  609. (1) LAN Server support only
  610. (2) HPFS-386 only
  611.  
  612.  
  613. ΓòÉΓòÉΓòÉ 8. How do I ? ΓòÉΓòÉΓòÉ
  614.  
  615. This section describes how to do things in PM Patrol that may not be obvious. 
  616.  
  617.  
  618. ΓòÉΓòÉΓòÉ 8.1. Set fonts ΓòÉΓòÉΓòÉ
  619.  
  620. You can select "Font" from the PM Patrol "Options" dialog and select a font for 
  621. the PM Patrol main Status Line. 
  622.  
  623. The font of choice for the PM Patrol Status Line is the "System VIO" family. 
  624.  
  625. Or, use the Font Palette in the OS/2 "Setup" folder by dropping a font on the 
  626. PM Patrol Status Line. 
  627.  
  628. All PM Patrol settings are automatically saved when you exit PM Patrol. 
  629.  
  630. Note:  PM Patrol supports the ability to have a different font and color scheme 
  631. for each window - including the main Status Line. 
  632.  
  633.  
  634. ΓòÉΓòÉΓòÉ 8.2. Display Different Drives ΓòÉΓòÉΓòÉ
  635.  
  636. By default, PM Patrol maps drives 1 through 6 on the Status Line to drives C 
  637. through H. This drive mapping can be changed to any desired combination. 
  638.  
  639.    1. From the PM Patrol Status Line, right-click the Status Line. 
  640.  
  641.    2. Select the "Drives" menu option 
  642.  
  643.    3. Then select the "Status Line" option. 
  644.  
  645.    4. This will display a menu identifying the current drive mappings assigned. 
  646.       Select the PM Patrol drive number you wish to change. 
  647.  
  648.    5. A mini dialog will popup displaying current drives on-line and 
  649.       accessible. Choose which drive to map. 
  650.  
  651.    6. To tell PM Patrol to show the drive on the Status Line select the drive 
  652.       number in PM Patrol's "Status Line Monitors" in the "Options" dialog. 
  653.  
  654.    7. This information is saved and remembered by PM Patrol. 
  655.  
  656.  When a drive being monitored goes off-line, PM Patrol displays a "?" in place 
  657.  of the free space for the drive to inform you the drive is off-line. This is 
  658.  more common when monitoring remote drives on a network. 
  659.  
  660.  
  661. ΓòÉΓòÉΓòÉ 8.3. Set Colors ΓòÉΓòÉΓòÉ
  662.  
  663. Use the "Colors" dialog. This can be accessed via the PM Patrol Setting option 
  664. on the "Options" dialog. You can control both foreground and background RGB 
  665. colors with this mechanism. 
  666.  
  667. Or, use the Color Palette in the OS/2 "Setup" folder by dropping a color 
  668. selection on the PM Patrol Status Line. 
  669.  
  670. All PM Patrol settings are automatically saved when you exit PM Patrol. 
  671.  
  672.  
  673. ΓòÉΓòÉΓòÉ 8.4. Move the Status Line ΓòÉΓòÉΓòÉ
  674.  
  675. There are two methods for moving the main Status Line. All PM Patrol settings 
  676. and window positions are automatically saved when you exit PM Patrol. 
  677.  
  678.         a. Holding the right mouse button down, drag the Status Line up or 
  679.            down, it will automatically keep the width of the Status Line within 
  680.            the boundaries of your desktop screen width. 
  681.  
  682.         a. Single click with both mouse buttons (Chord click) on the PM Patrol 
  683.            Status Line.  This will enable the title bar to the Status Line. 
  684.  
  685.         b. Select the title bar and hold the mouse button while dragging the 
  686.            Status Line to the desired position. 
  687.  
  688.         c. Chord click the Status Line again (or select "Hide Controls" from 
  689.            the System Menu box) to hide the title bar. 
  690.  
  691.         d. This will allow you to move the Status Line off the desktop 
  692.            boundaries for those of you who wish to truncate the left of right 
  693.            side of the Status Line. 
  694.  
  695.  
  696. ΓòÉΓòÉΓòÉ 8.5. Mouse Control with PM Patrol ΓòÉΓòÉΓòÉ
  697.  
  698. Double click the left mouse button on the PM Patrol Status Line to get to PM 
  699. Patrol Options. 
  700.  
  701. Single click the right mouse button on the PM Patrol Status Line for quick 
  702. access the PM Patrol utilities menu. 
  703.  
  704. Single click the left and right mouse buttons (Chord click) on the PM Patrol 
  705. Status Line to display the PM Patrol title bar and system menu. This allows you 
  706. to move the PM Patrol Status Line to a desired position. Chord click again to 
  707. hide the title bar, or select the "System Menu" box on the title bar and then 
  708. select "Hide Controls". 
  709.  
  710.  
  711. ΓòÉΓòÉΓòÉ 8.6. Start PM Patrol Minimized/Hidden ΓòÉΓòÉΓòÉ
  712.  
  713. PM Patrol can be started with a command line option ("-H") to start it in a 
  714. HIDDEN state. This is advantageous for some users - particularly when the user 
  715. is only interested in the DCF component. Use the OS/2 Window List to "unhide" 
  716. the window. This also lends itself to workstations which are used exclusively 
  717. for real-time operations and/or data acquisition and wish to use the Logger 
  718. component of PM Patrol. 
  719.  
  720. Combined with the "Start Secured" option, PM Patrol to operates in complete 
  721. detached mode and 100% secured from user interaction and intervention. The only 
  722. way to terminate PM Patrol is an OS/2 Shutdown. This mode of operation lends 
  723. itself to LAN administrators who wish to monitor workstations using the DCF and 
  724. Network components of PM Patrol without involving the workstation user. 
  725.  
  726.  
  727. ΓòÉΓòÉΓòÉ 8.7. Start PM Patrol Secured ΓòÉΓòÉΓòÉ
  728.  
  729. PM Patrol can be started with a command line option "-S" to start PM Patrol in 
  730. SECURED state. When enabled, PM Patrol does not appear in the OS/2 Window List 
  731. and can not therefore be terminated by the user. The user MUST close PM Patrol 
  732. via the normal PM Patrol mechanism. 
  733.  
  734. Combined with the "Start Hidden" option, PM Patrol to operates in complete 
  735. detached mode and 100% secured from user interaction and intervention. The only 
  736. way to terminate PM Patrol is an OS/2 Shutdown. This mode of operation lends 
  737. itself to LAN administrators who wish to monitor workstations using the DCF and 
  738. Network components of PM Patrol without involving the workstation user. 
  739.  
  740.  
  741. ΓòÉΓòÉΓòÉ 8.8. Uninstall PM Patrol ΓòÉΓòÉΓòÉ
  742.  
  743. To Uninstall PM Patrol from your system: 
  744.  
  745.    1. Exit PM Patrol if currently active. 
  746.  
  747.    2. Delete the PM Patrol folder from the OS/2 Desktop. 
  748.  
  749.    3. If you selected PM Patrol to startup automatically via the OS/2 desktop 
  750.       "Startup" folder, then delete the program object from this folder as 
  751.       well. 
  752.  
  753.    4. Delete the PM Patrol directory (i.e. C:\PMP) and all the files within the 
  754.       directory. 
  755.  
  756.  Note:  PM Patrol does not modify your CONFIG.SYS file and does not therefore 
  757.  require any changes to this file for uninstall. 
  758.  
  759.  
  760. ΓòÉΓòÉΓòÉ 9. Options ΓòÉΓòÉΓòÉ
  761.  
  762. This section describes various options and configuration settings that may be 
  763. selected for PM Patrol. 
  764.  
  765.  
  766. ΓòÉΓòÉΓòÉ 9.1. System ΓòÉΓòÉΓòÉ
  767.  
  768. The System section provides the ability to view and change several OS/2 
  769. environmental facets. 
  770.  
  771. This can be accessed from the PM Patrol "Options" dialog. 
  772.  
  773.  
  774. ΓòÉΓòÉΓòÉ 9.1.1. System Level ΓòÉΓòÉΓòÉ
  775.  
  776. The System Level option launches the OS/2 SYSLEVEL.EXE utility and displays the 
  777. current release and CSD level for the OS/2 components installed on your system. 
  778.  
  779.  
  780. ΓòÉΓòÉΓòÉ 9.1.2. Set Date/Time ΓòÉΓòÉΓòÉ
  781.  
  782. The Set Date/Time option provides a small dialog for changing the OS/2 system 
  783. date and/or time. Input is fully edited for valid dates including leap-year and 
  784. you are notified of errors. 
  785.  
  786. The Status Line Date/Time is updated to reflect the new date/time. 
  787.  
  788.  
  789. ΓòÉΓòÉΓòÉ 9.1.3. Mouse Pointer ΓòÉΓòÉΓòÉ
  790.  
  791. The Mouse Pointer option allows you to change the current mouse pointer type. 
  792. Using the OS/2 Icon Editor, you can create your own POINTER files. 
  793.  
  794. This option provides a bigger pointer for SVGA and XGA systems.  On XGA 
  795. systems, if you change the default pointer, the pointer may occasionally 
  796. disappear. This is most likely caused by the IBM OS/2 XGA drivers and is 
  797. repaired in OS/2 2.1 with the 2.11 CSD. 
  798.  
  799. Note:  After selecting a new pointer, DO NOT delete, move, or rename the 
  800. pointer file without changing the Mouse Pointer via PM Patrol FIRST. OS/2 looks 
  801. for this at IPL. If it is not found at OS/2 bootup, OS/2 will hang. So put the 
  802. pointer file in a safe place on a not removable media type and backup INI 
  803. files. 
  804.  
  805. Select "Reset" to reset back to the original pointer. 
  806.  
  807.  
  808. ΓòÉΓòÉΓòÉ 9.1.4. Wait Pointer ΓòÉΓòÉΓòÉ
  809.  
  810. The Wait Pointer option allows you to change the current wait pointer type. 
  811. Typically, this is the OS/2 time clock when the system is busy. Using the OS/2 
  812. Icon Editor, you can create your own POINTER files. 
  813.  
  814. This option was added to provide a bigger pointer for SVGA and XGA systems.  On 
  815. XGA systems, if you change the default pointer, the pointer may occasionally 
  816. disappear.  This is most likely caused by the XGA drivers. 
  817.  
  818. After selecting a new pointer, DO NOT delete, move, or rename this file without 
  819. performing this process as well. OS/2 looks for this at IPL. So put the pointer 
  820. file in a safe place on a not removable media type and backup INI files. 
  821.  
  822. Select "Reset" to reset back to the original pointer. 
  823.  
  824.  
  825. ΓòÉΓòÉΓòÉ 9.2. Settings ΓòÉΓòÉΓòÉ
  826.  
  827. The Settings section provides the ability to view, change, and permanently 
  828. change PM Patrol configuration items. 
  829.  
  830. This can be accessed from the PM Patrol "Options" dialog. 
  831.  
  832.  
  833. ΓòÉΓòÉΓòÉ 9.2.1. Reset All Settings ΓòÉΓòÉΓòÉ
  834.  
  835. The Reset All Settings option resets all PM Patrol to options to their original 
  836. defaults. This includes colors, window positions, fonts, monitor items on the 
  837. Status Line and PM Patrol Logger, and Process Meter data. 
  838.  
  839.  
  840. ΓòÉΓòÉΓòÉ 9.2.2. General Settings ΓòÉΓòÉΓòÉ
  841.  
  842. General Settings is broken-out into the following groups: 
  843.  
  844.    1. "Startup" options and windows that get started when PM Patrol is started 
  845.  
  846.    2. "Miscellaneous" options 
  847.  
  848.    3. "Spooler" options for local or remote print spool monitoring 
  849.  
  850.    4. "Editor" and "Viewer" programs used by PM Patrol 
  851.  
  852.  The following items discuss Startup function: 
  853.  
  854.    1. Enable Process Monitor Window to have this facility launched when PM 
  855.       Patrol starts. 
  856.  
  857.    2. Enable Memory Monitor Window to have this facility launched when PM 
  858.       Patrol starts. 
  859.  
  860.    3. Enable Network Monitor Window to have this facility launched when PM 
  861.       Patrol starts. 
  862.  
  863.    4. Enable Port Monitor Window to have this facility launched when PM Patrol 
  864.       starts. 
  865.  
  866.    5. Enable Drives Monitor Window to have this facility launched when PM 
  867.       Patrol starts. 
  868.  
  869.    6. Enable Event Monitor Window to have this facility launched when PM Patrol 
  870.       starts. 
  871.  
  872.    7. Enable Activity Monitor Window to have this facility launched when PM 
  873.       Patrol starts. 
  874.  
  875.    8. Enable Debug Facility to have this facility start when PM Patrol starts. 
  876.  
  877.    9. Enable Logging Facility to have this facility start when PM Patrol 
  878.       starts. 
  879.  
  880.   10. Enable Reset Process Meter to have the Process Meter data base 
  881.       initialized when PM Patrol starts (typically each time you reboot your 
  882.       system). When this settings is not enabled, PM Patrol keeps track of 
  883.       Process Meter statistics across each invocation of PM Patrol, thus 
  884.       providing accumulative statistics for you until you manually reset the 
  885.       Process Meter data base. This option is enabled by default. Therefore, 
  886.       the meter will be initialized each time you start PM Patrol. 
  887.  
  888.  The following items discuss Miscellaneous items: 
  889.  
  890.    1. Sound Bites and Volume option enables or disables the playing of 
  891.       multimedia WAV files upon various PM Patrol events. This option is only 
  892.       applicable to systems that are Multimedia enabled with MMPM/2 for OS/2. 
  893.       The Volume control allows you to adjust the volume for PM Patrol's WAV 
  894.       sound bites independantly from the OS/2 "System Sounds" volume control. 
  895.       The default is 50% and may require adjustment for your system. PM Patrol 
  896.       stores it's WAV files in a subdirectory called "WAV" and is located under 
  897.       the PM Patrol installation directory. Some events include: 
  898.  
  899.         a. When an error occurs (pmperr.wav). 
  900.  
  901.         b. When free disk space is low (pmpfdisk.wav). 
  902.  
  903.         c. Each time you connect (pmpin.wav) or disconnect from (pmpout.wav) 
  904.            the Internet when using IBM's Internet Access Kit. 
  905.  
  906.         d. Each time you Logon (pmpin.wav) or Logoff (pmpout.wav) when using 
  907.            IBM's LAN Server. 
  908.  
  909.         e. When you kill a program from the Process Monitor window or Fast 
  910.            Format a floppy diskette (pmpshred.wav). 
  911.  
  912.         f. When you refresh the window contents manually (pmprefr.wav). 
  913.  
  914.         g. When you add (pmpadd.wav) or delete (pmpshred.wav) items from a 
  915.            window. 
  916.  
  917.         h. When you delete PM Patrol or Debug log files (pmpshred.wav). 
  918.  
  919.         i. When the PM Patrol Status Line, Activity Monitor, or PM Patrol's CPU 
  920.            monitor are suspended (pmppause.wav) and resumed (pmpreset.wav). 
  921.  
  922.         j. When using PM Patrol's print spooler management functions. This 
  923.            includes purging queues (pmpshred.wav), releasing queues 
  924.            (pmpreset.wav), and holding queues (pmppause.wav). 
  925.  
  926.         k. When PM Patrol windows are copied to the clipboard, printed, or 
  927.            saved to a file (pmprpt.wav). 
  928.  
  929.         l. When printing to local LPT1, LPT2, or LPT3 has completed spooling to 
  930.            printer (pmpprint.wav). 
  931.  
  932.         m. When remaining battery life drops below specified threshold 
  933.            (pmpbat.wav). 
  934.  
  935.         n. When available virtual memory falls below specified threshold 
  936.            (pmpvram.wav). 
  937.  
  938.         o. When the OS/2 swap file grows at any time (pmpgswap.wav). 
  939.  
  940.         p. When available OS/2 swap space falls below the specified threshold 
  941.            (pmpfswap.wav). 
  942.  
  943.         q. When average CPU exceeds specified threshold (pmpcpu.wav). 
  944.  
  945.         r. When PM Patrol logging is stopped or completed (pmpdone.wav). 
  946.  
  947.         s. When various "Reset" options are selected (pmpreset.wav). 
  948.  
  949.    2. Process Metering option enables or disables the Process Meter feature 
  950.       which provides ongoing monitoring of process metrics and statistics for 
  951.       analyzing duration, CPU effort, instances, execution dates, and more. 
  952.       Refer to the "Monitors" on-line section for details. 
  953.  
  954.    3. Confirmations option enables or disables PM Patrol from asking you for 
  955.       confirmation upon various events such as killing processes via the 
  956.       Process Monitor window. There are cases where PM Patrol will ignore this 
  957.       option and request confirmation for your own protection, even if this 
  958.       option is turned off. 
  959.  
  960.    4. Animated Windows option enables or disables the appearance of PM Patrol 
  961.       windows "zooming" in and out when windows are opened and closed. 
  962.  
  963.    5. Idle-Time Searches option controls the search priority for "Fast Find", 
  964.       "Drive Map", and "Fast Help" operations. When enabled, these operations 
  965.       only get OS/2 time slices when there is inactivity (idle) within your 
  966.       system. 
  967.  
  968.    6. Auto-Popup Menu option causes the PM Patrol Status Line popup menu to 
  969.       automatically popup when the mouse is moved over the Status Line within 1 
  970.       inch of the right or left side of the screen. No mouse click is 
  971.       necessary. Where the mouse pointer is outside of these 1 inch boundaries, 
  972.       PM Patrol behaves normally. This feature is nice for those who want 
  973.       ultra-fast access to PM Patrol features. When enabled, the double-click 
  974.       option off the Status Line is disabled. To access to PM Patrol "Options" 
  975.       window, select it off the popup menu. 
  976.  
  977.    7. Bitmap in Popup Menu option enables or disables displaying the PM Patrol 
  978.       bitmap in the Utility Popup menu accessed from the PM Patrol Status Line. 
  979.  
  980.    8. The Accumulative Internet Time option instructs PM Patrol to display the 
  981.       Internet Connect-Time on the Status Line as an accumulative value since 
  982.       the last time the Internet Connect-Time was reset. When disabled, PM 
  983.       Patrol will show the Internet Connect-Time since the last time PM Patrol 
  984.       was started or when the Internet Connect-Time was reset. When enabled, 
  985.       the total connect time is saved when PM Patrol is shutdown and carried 
  986.       across each invocation of PM Patrol. The Internet Connect-Time is 
  987.       reliable as long as PM Patrol is active and able to monitor when Internet 
  988.       connects occur. 
  989.  
  990.    9. The Sync Time with Server option enables or disables synchronization of 
  991.       date and time as compared to the network server currently logged-on to. 
  992.       When enabled and logged-on to a LAN Server, PM Patrol will (every 10 
  993.       minutes) synchronize the date and time with the LAN Server. This is set 
  994.       off by default. 
  995.  
  996.   10. The Check floppy at Shutdown will cause PM Patrol to warn you when PM 
  997.       Patrol is shutdown that there is a floppy diskette mounted in the boot 
  998.       floppy drive. 
  999.  
  1000.   11. The CPU Magnification provides the ability to magnify actual CPU 
  1001.       utilization. The value specified is a multiplier (1x, 2x, ... 25x). 
  1002.       Setting magnification to 1 will result in the same value for actual CPU. 
  1003.       The magnification can be monitored in either PM Patrol's Status Line or 
  1004.       Activity Monitor. By default, this option is not enabled in the Activity 
  1005.       Monitor and is set to 5 times (5x) in General Settings. This feature of 
  1006.       PM Patrol lends itself to high-end i486 and Pentium based CPUs and allows 
  1007.       the ability to "zoom" into CPU usage less than 1 percent. PM Patrol will 
  1008.       not report CPU magnification higher than 100 percent. 
  1009.  
  1010.   12. The Battery Calibration option allows you to specify the "zero" value for 
  1011.       the mobile computer's battery. The OS/2 APM facilities assume the battery 
  1012.       to be 100% new. As the battery ages, the original maximum life of the 
  1013.       battery diminishes. Especially for NICad batteries. PM Patrol allows you 
  1014.       to specify a "new" maximum life. When set at zero, observe the PM Patrol 
  1015.       "Bat" percentage. When your computer informs you the battery is 
  1016.       dangerously low (usually several short beeps), observe the percentage 
  1017.       that PM Patrol reports. This value becomes the new "zero" point. Select 
  1018.       this value in the "Calibration" field in the "General Settings" dialog. 
  1019.       Repeat this process every 3-4 months to ensure accurate and reliable 
  1020.       battery readings. 
  1021.  
  1022.  The following items discuss print Spooler options: 
  1023.  
  1024.    1. The Monitor Remote Queue(s) item allows you to select "local" or "Remote" 
  1025.       print queue(s) on a LAN Server and requires IBM LAN Requester be 
  1026.       installed on the local workstation. When enabled, the LAN Server 
  1027.       currently logged-on to is monitored.  PM Patrol automatically recognizes 
  1028.       when a new or different server is logged-on to and adjusts the monitoring 
  1029.       for that server. When not selected, the local workstation print queues 
  1030.       are monitored. This is the default. 
  1031.  
  1032.    2. PM Patrol displays a "?" on the Status Line when it can not poll print 
  1033.       spooler data - perhaps when the user is not logged-on to the server. 
  1034.  
  1035.    3. Monitoring a remote print spooler is only applicable if you have LAN 
  1036.       Requester installed on your workstation, and you are logged onto the 
  1037.       network server. 
  1038.  
  1039.    4. The "Total all Print Queues" option allows you to summarize all print 
  1040.       jobs across all queues and report this value. If this option is NOT 
  1041.       selected, PM Patrol reports the number of print jobs in each spooler 
  1042.       queue along with the status of the queue (h=held or r=released). 
  1043.  
  1044.  The Viewer identifies which OS/2 program/utility to use for viewing.  PM 
  1045.  Patrol uses this for Log viewing and others purposes as they surface in future 
  1046.  releases of PM Patrol. 
  1047.  
  1048.  The Editor identifies which OS/2 program/utility to use for editing.  PM 
  1049.  Patrol uses this for the "Fast Find" files facility and other purposes as they 
  1050.  surface in future releases of PM Patrol. 
  1051.  
  1052.  
  1053. ΓòÉΓòÉΓòÉ 9.2.3. Event Settings ΓòÉΓòÉΓòÉ
  1054.  
  1055. The following items discuss Event monitor options. The Sound Bites for the 
  1056. following events will only occur when "Sound Bites" is enabled in the "General 
  1057. Settings" window and MMPM/2 is installed on your system. 
  1058.  
  1059. When these selected events occur, you will be notified (if enabled) at the 
  1060. frequency specified under "Event Frequencies". By default, you are notified 
  1061. every 5 minutes after the event threshold has been exceeded and sustained for 1 
  1062. minute. 
  1063.  
  1064. Notification occurs in the form of Sound Bites (if enabled), speaker sounds, 
  1065. and/or short popup messages. For systems which are not multimedia enabled, PM 
  1066. Patrol will sound a short audible alarm when event thresholds are exceeded. 
  1067.  
  1068. When you start-up PM Patrol, events will not occur within the first 15 seconds 
  1069. while PM Patrol calibrates itself and initially samples all resources. 
  1070.  
  1071. PM Patrol events include: 
  1072.  
  1073.    1. Battery below ... option will cause PM Patrol to notify you when 
  1074.       remaining battery life drops below the percentage specified. This option 
  1075.       is available only for mobile computer systems with OS/2's Advanced Power 
  1076.       Management. 
  1077.  
  1078.    2. Avg CPU above ... option will cause PM Patrol to notify you when average 
  1079.       CPU exceeds the percentage specified. 
  1080.  
  1081.    3. Virtual RAM below ... option will cause PM Patrol to notify you when 
  1082.       available virtual memory falls below the amount specified. This amount is 
  1083.       represented in terms of Megabytes (MB). 
  1084.  
  1085.    4. Free Swap below  ... option will cause PM Patrol to notify you when 
  1086.       available swap space falls below the percentage specified. 
  1087.  
  1088.    5. Free RAM below  ... option will cause PM Patrol to notify you when 
  1089.       available RAM falls below the percentage specified. This option is not 
  1090.       recommended for use by systems with less than 16 MB of memory. 
  1091.  
  1092.    6. Swap File above... option will cause PM Patrol to notify you when the 
  1093.       OS/2 swap file (SWAPPER.DAT) exceeds the size specified. This size is 
  1094.       specified in terms of megabytes (MB). 
  1095.  
  1096.    7. Drive 1-6 below... option will cause PM Patrol to notify you when free 
  1097.       disk space falls below the amount specified. This amount is represented 
  1098.       in terms of megabytes (MB). The drive to be monitored must be selected in 
  1099.       the list box on the main "Options" dialog. You will not be able to select 
  1100.       event monitoring for the desired drive until this selection is done. 
  1101.  
  1102.  PM Patrol provides three different Notification Methods when event thresholds 
  1103.  are exceeded: 
  1104.  
  1105.    1. The Messages option will cause PM Patrol to notify you in the form of a 
  1106.       brief message when the above events occur. This message is a small pop-up 
  1107.       window that temporarily grabs the foreground for about 3-4 seconds. This 
  1108.       method is rather obtrusive and will visually interupt what your're 
  1109.       currently working on. Each event has a specific message. 
  1110.  
  1111.    2. The Sound Bites option will cause PM Patrol to notify you in the form of 
  1112.       multimedia sound effects when the above events occur. These sounds 
  1113.       require MMPM/2 and are background. 
  1114.  
  1115.    3. The PC Speakers option will cause PM Patrol to notify you in the form of 
  1116.       a short beep when the above events occur. 
  1117.  
  1118.    4. PM Patrol's Data Collection Facility APIs provide a means of real-time 
  1119.       event notification. 
  1120.  
  1121.  The Notification Frequencies allow you set two important setting which allow 
  1122.  you to control how often you are notified once an event threshold is exceeded, 
  1123.  and how long must the threshold be exceeded before notificaton occurs. 
  1124.  
  1125.    1. The Sustained State control informs PM Patrol to wait a certain amount of 
  1126.       time (seconds) while the threshold is exceeded before notifying you via 
  1127.       the methods you have selected. Hence, the threshold has to sustain an 
  1128.       exceeded state for the time you specifiy. 
  1129.  
  1130.    2. The Re-Notification control allows you to select how often you want to be 
  1131.       notified after the "Sustained State" has occured. 
  1132.  
  1133.  The Event Monitor Window collects ALL selected events - even if you have 
  1134.  chosen not to be notified. The last time and the value of the "Sustained 
  1135.  State" of the event are reported in this window. 
  1136.  
  1137.  
  1138. ΓòÉΓòÉΓòÉ 9.2.4. Logger Settings ΓòÉΓòÉΓòÉ
  1139.  
  1140. The following items discuss Logger Settings: 
  1141.  
  1142.    1. The Log Items allows you to select which PM Patrol monitors you would 
  1143.       like to record while logging is active. Once the Logger is active, these 
  1144.       options are inaccessible.  Stop the Logger to change the "Logger 
  1145.       Settings". 
  1146.  
  1147.       Note:  The Process Detail option provides the ability to have PM Patrol 
  1148.       also log process detail information as seen in PM Patrol's Process 
  1149.       Monitor window. This additional detail will list all programs that are 
  1150.       active along with their process ID (PID) and the CPU used per process. 
  1151.       Enabling this will cause the log file size to increase based on the 
  1152.       number of processes actively running. 
  1153.  
  1154.    2. The Log Frequency allows you to select the frequency at which PM Patrol 
  1155.       logs selected monitor items. Valid values are 1 to 60 seconds (1 minute). 
  1156.  
  1157.    3. The Log Duration allows you to select how long (minutes) to perform 
  1158.       logging.  Valid values are 1 minute to 1440 (all day). 
  1159.  
  1160.       Note:  Specifying 1440 minutes enables continuous logging.  With this 
  1161.       enabled, the log files (primary and backup) get "rolled-over" at 
  1162.       midnight. The "Notify when Done" option is ignored when continuous 
  1163.       logging is enabled. 
  1164.  
  1165.       Note:  Worst case disk requirement for all day logging with backup is 16 
  1166.       MB. 1/2 of this when "Backup log File" is not enabled. 
  1167.  
  1168.       Note:  While continuous logging is active, the primary log file can not 
  1169.       be viewed. The backup log file (from the previous day) is always 
  1170.       accessible. 
  1171.  
  1172.    4. The Foreground Color and Background Color push-button items allow you to 
  1173.       select the PM Patrol Status Line colors when logging is active.  The 
  1174.       default colors reverse the foreground and background colors. 
  1175.  
  1176.    5. The Backup Log File causes the primary log file to be backed-up each time 
  1177.       a "Start Log" is initiated.  With this disabled, the primary log file is 
  1178.       overwritten. 
  1179.  
  1180.    6. The Notify When Done option provides the ability to have PM Patrol popup 
  1181.       a message on the OS/2 Desktop when logging has reached it's completion 
  1182.       via the "Log Duration" setting.  This is ignored for "Continuous 
  1183.       Logging". 
  1184.  
  1185.    7. The Path entry field allows you to specify the path location for both 
  1186.       primary and backup log files. 
  1187.  
  1188.       Note:  The primary and backup log files created by PM Patrol are named 
  1189.       "PMPATROL.LOG" for the primary and "PMPATROL.BAK" for the backup log 
  1190.       file. Both the primary and backup log files are ASCII.  Therefore, they 
  1191.       can be viewed and otherwise manipulated using such tools as Rexx, AWK, 
  1192.       and GREP. 
  1193.  
  1194.  The PM Patrol Logger is designed with special consideration for performance 
  1195.  and can be used in a variety of situations: 
  1196.  
  1197.    1. Real-time and time critical. Samples recorded every second. 
  1198.  
  1199.    2. Aggressive. Samples recorded every 2-3 seconds. 
  1200.  
  1201.    3. Casual. Samples recorded every minute. 
  1202.  
  1203.  The Logger buffers output to minimize disk write efforts. Worst case, the 
  1204.  Logger requires 1 physical disk write for every 10 Log records. 
  1205.  
  1206.  Because of the buffering technique used by the Logger, there are no special 
  1207.  performance requirements imposed on the user. However, it is recommended that 
  1208.  "Lazy Write" be enabled in the OS/2 CONFIG.SYS to improve OS/2 overall disk 
  1209.  performance and further minimize the PM Patrol Logging effort. 
  1210.  
  1211.  
  1212. ΓòÉΓòÉΓòÉ 9.2.5. Refresh Settings ΓòÉΓòÉΓòÉ
  1213.  
  1214. The following items discuss Refresh Settings for PM Patrol monitors. When 
  1215. setting these controls, try to stagger them so that each item occurs at a 
  1216. different time. 
  1217.  
  1218. The lower the frequency setting for a given monitor, the more timing-accurate 
  1219. the monitor will be. However, this lower frequency also causes PM Patrol to 
  1220. sample the resource more often thus creating more overhead. For i486 and 
  1221. Pentium based systems, setting these frequencies to minimum values will NOT 
  1222. create adverse effects. CPU overhead for PM Patrol is mimimal. 
  1223.  
  1224. The higher the frequency setting for a given monitor, the less timing-accurate 
  1225. and reliable the monitor will be. However, this higher frequency also reduces 
  1226. PM Patrol overhead for i386 based systems. 
  1227.  
  1228.    1. The Network Monitors refresh setting controls how often (seconds) PM 
  1229.       Patrol samples network presence, I/O statistics, logon, and workstation 
  1230.       status. The Network Monitor window is updated at this frequency as well. 
  1231.  
  1232.    2. The Spool Monitor refresh setting controls how often (seconds) PM Patrol 
  1233.       enumerates the total number of print jobs across all print queues. 
  1234.  
  1235.    3. The Drive Monitors refresh setting controls how often (seconds) PM Patrol 
  1236.       checks what drives are on-line and how much free disk space exists on 
  1237.       each. This does not effect the refresh of the Drives Monitor window which 
  1238.       updates every minute. 
  1239.  
  1240.    4. The Swap Monitor refresh setting controls how often (seconds) PM Patrol 
  1241.       checks how large the OS/2 swapper file is and how much free swapper space 
  1242.       there is. 
  1243.  
  1244.    5. The Activity Monitor refresh setting controls how often (seconds) PM 
  1245.       Patrol refreshes the items in the Activity Monitor window. 
  1246.  
  1247.    6. The Memory Monitors refresh setting controls how often (seconds) PM 
  1248.       Patrol checks free, virtual, and resident memory. The Memory Monitor 
  1249.       window is updated at this frequency as well. 
  1250.  
  1251.    7. The Process Monitors refresh setting controls how often (seconds) PM 
  1252.       Patrol refreshes the Process Monitor window, Process Summary information 
  1253.       in the PM Patrol Status Line, and Process Meter data collection (when 
  1254.       enabled). The other Process Monitor functions do not automatically 
  1255.       refresh and are therefore not subject to this refresh control. 
  1256.  
  1257.    8. The User Defined Monitor refresh setting controls how often (seconds) PM 
  1258.       Patrol refreshes the User Defined Monitor information in PM Patrol's main 
  1259.       Status Line. Using the PM Patrol "DCFUserDefined" API within a C/C++ 
  1260.       program, you can format a monitor buffer of your choice. Refer to the API 
  1261.       description for DCFUserDefined for details. 
  1262.  
  1263.  Note:  The CPU effort to collect Process Meter data, although minimal when 
  1264.  active, can be negatively influenced by adjusting the "Process Monitors" 
  1265.  frequency in PM Patrol's "Refresh Settings" dialog too low - depending on the 
  1266.  computer. As a rule of thumb, set the "Process Monitors" frequency to the 
  1267.  following, but never lower: 
  1268.  
  1269.    1. 5 seconds for i386 class computers 
  1270.  
  1271.    2. 4 seconds for i486 class computers 
  1272.  
  1273.    3. 3 seconds for Pentium class computers 
  1274.  
  1275.  
  1276. ΓòÉΓòÉΓòÉ 9.2.6. Status Line Font ΓòÉΓòÉΓòÉ
  1277.  
  1278. The Status Line Font option allows you to set the display font for the PM 
  1279. Patrol Status Line window. 
  1280.  
  1281. The font of choice for the PM Patrol Status Line is the "System VIO" family. 
  1282.  
  1283. You can also use the Font Palette in the OS/2 "System Settings" folder by 
  1284. dragging the font to the PM Patrol Status Line. 
  1285.  
  1286.  
  1287. ΓòÉΓòÉΓòÉ 9.2.7. Status Line Colors ΓòÉΓòÉΓòÉ
  1288.  
  1289. The Status Line Colors option allows you to set the foreground and background 
  1290. colors for the PM Patrol Status Line window. 
  1291.  
  1292. The Color Propagation option informs PM Patrol to use the color settings 
  1293. selected throughout all PM Patrol windows - as opposed to the current OS/2 
  1294. color definitions. 
  1295.  
  1296. Note:  The font of choice for the PM Patrol Status Line is the "System VIO" 
  1297. family. 
  1298.  
  1299. You can also use the Font Palette in the OS/2 "System Settings" folder by 
  1300. dragging the font to the PM Patrol Status Line. 
  1301.  
  1302.  
  1303. ΓòÉΓòÉΓòÉ 9.2.8. Security ΓòÉΓòÉΓòÉ
  1304.  
  1305. The Security option allows you to set a password that restricts access to PM 
  1306. Patrol configuration, settings, and monitor items. 
  1307.  
  1308. Simply enter a password and PM Patrol security is enabled. To turn off 
  1309. security, simply remove the password. 
  1310.  
  1311. When enabled, the security will restrict access to: 
  1312.  
  1313.    1. All "Options" dialog functions 
  1314.  
  1315.    2. Changing monitored items from the "Utility" popup menu 
  1316.  
  1317.    3. The Program Settings dialog from the "Utility" popup menu 
  1318.  
  1319.    4. The Scheduler Settings dialog from the "Utility" popup menu 
  1320.  
  1321.    5. PM Patrol Logging functions from the "Utility" popup menu 
  1322.  
  1323.  
  1324. ΓòÉΓòÉΓòÉ 9.3. Exit ΓòÉΓòÉΓòÉ
  1325.  
  1326. This option is used to end the PM Patrol program 
  1327.  
  1328.  
  1329. ΓòÉΓòÉΓòÉ 9.4. Status Line Options ΓòÉΓòÉΓòÉ
  1330.  
  1331. This section describes PM Patrol's Status Line Options and Graphs available in 
  1332. the "Options" window. The descriptions and application of the individual Status 
  1333. Line Monitors are discussed in detail under the on-line help section called 
  1334. "Status Line". 
  1335.  
  1336. Some of these options may be grayed-out and inaccessible if the related monitor 
  1337. is not selected in the Status Line Monitor list-box. 
  1338.  
  1339. The CPU Average option enables or disables the display of the "rolling average" 
  1340. of CPU activity covering the last 1 minute. This option is accessible only when 
  1341. "CPU Monitor" is selected in "Status Line" monitors. 
  1342.  
  1343. The CPU Magnified option enables or disables the display of CPU magnification 
  1344. as setup in the General Settings. This option is accessible only when "CPU 
  1345. Monitor" is selected in "Status Line" monitors and offers the ability to 
  1346. monitor CPU activity at a very granular level. 
  1347.  
  1348. The RAM Percent option enables or disables the display of percentage of free 
  1349. RAM as compared to total physical memory installed in the computer. This option 
  1350. is accessible only when "Free RAM Monitor" is selected in "Status Line" 
  1351. monitors. 
  1352.  
  1353. The Float to Top option enables or disables the PM Patrol Status Line being 
  1354. kept as the "topmost" window on the OS/2 desktop and therefore visible all the 
  1355. time. When obscured by another window, the Status Line will "float" to the top 
  1356. of the desktop - but will not be the active window. 
  1357.  
  1358. Note:  Refer to the on-line help section "Trouble Shooting" for idiosyncrasies 
  1359. associated with the "Float to Top" option under OS/2 versions 2.1 and 2.11. 
  1360.  
  1361. The Show Floppies option enables or disables the display of floppy disk drives 
  1362. in the "Drives On-line" monitor. 
  1363.  
  1364. The Show Seconds option enables or disables PM Patrol displaying current 
  1365. seconds within the Time on the main Status Line. 
  1366.  
  1367. The Show Julian Date option enables or disables PM Patrol displaying the 
  1368. current Julian date (in addition to the normal Gregorian date) on the main 
  1369. Status Line. 
  1370.  
  1371. The Show Decimals option enables or disables PM Patrol displaying the decimal 
  1372. position for several of the Status Line monitors. When disabled, PM Patrol will 
  1373. apply standard rounding across affected values. 
  1374.  
  1375. The Show Compact option enables or disables PM Patrol displaying status 
  1376. information in "compact" form. When enabled, the monitor items on the PM Patrol 
  1377. Status Line have their abbreviations (i.e. "Ram", "Spl") removed thus allowing 
  1378. for more room within the Status Line window. 
  1379.  
  1380. The CPU Graph option enables or disables a visually graphic display of CPU 
  1381. activity. This option is accessible only when "CPU Monitor" is selected in 
  1382. "Status Line" monitors. 
  1383.  
  1384. The RAM Graph option enables or disables a visually graphic display of free 
  1385. RAM. This option is accessible only when "Free RAM Monitor" is selected in 
  1386. "Status Line" monitors. 
  1387.  
  1388. The Resident RAM Graph option enables ordisables a visually graphic display of 
  1389. current Resident RAM as compared to total physical memory. This option is 
  1390. accessible only when "Resident RAM" is selected in "Status Line" monitors. 
  1391.  
  1392. The Virtual RAM Graph option enables or disables a visually graphic display of 
  1393. current used Virtual RAM as compared to total virtual memory available. It is 
  1394. accessible only when "Virtual RAM" is selected in "Status Line" monitors. 
  1395.  
  1396. The Free Swap Graph option enables or disables a visually graphic display of 
  1397. current free swap as compared to the current size of the swap file and is 
  1398. accessible only when "Swap Monitor" is selected in "Status Line" monitors. 
  1399.  
  1400.  
  1401. ΓòÉΓòÉΓòÉ 9.5. Status Line Monitors ΓòÉΓòÉΓòÉ
  1402.  
  1403. The Status Line Monitors list-box contains all the PM Patrol monitors that you 
  1404. may select for display on the PM Patrol Status Line. 
  1405.  
  1406. Selecting monitor items for the Status Line does NOT imply that these same 
  1407. selected monitors are those which are logged via PM Patrol's Logging facility. 
  1408. The Logging facility contains its own monitor selections and can be customized 
  1409. under the "Logger Settings" dialog. 
  1410.  
  1411. The Status Line is updated immediately when monitors are selected or 
  1412. deselected. 
  1413.  
  1414. These monitor items within the listbox are discussed in detail under the 
  1415. on-line help section called "Status Line". 
  1416.  
  1417.  
  1418. ΓòÉΓòÉΓòÉ 10. Monitors ΓòÉΓòÉΓòÉ
  1419.  
  1420. This section describes various performance monitors of PM Patrol. 
  1421.  
  1422.  
  1423. ΓòÉΓòÉΓòÉ 10.1. Activity Monitor ΓòÉΓòÉΓòÉ
  1424.  
  1425. The Activity Monitor window provides a line-graph view of several OS/2 
  1426. resources. 
  1427.  
  1428.    1. "Free Swap" is a blue line and represents free swapper space. When 
  1429.       enabled, the "Used Swap" graph line is disabled. 
  1430.  
  1431.    2. "Used Swap" is a blue line and represents used swapper space. When 
  1432.       enabled, the "Free Swap" graph line is disabled. Due to the nature and 
  1433.       dynamics of OS/2's method of virtual memory swapping, PM Patrol's 
  1434.       calculation of swap utilization can result in an approximation. 
  1435.  
  1436.    3. "Current CPU" is a yellow line and represents the current CPU 
  1437.       utilization. 
  1438.  
  1439.    4. "Average CPU" is a white line and represents the rolling average CPU 
  1440.       utilization. 
  1441.  
  1442.    5. "Magnified CPU" is a pink line (may be purplish on color depths greater 
  1443.       than 640x480) and represents a magnified CPU utilization. The level of 
  1444.       magnification is specified in "General Settings". By default, this option 
  1445.       is not enabled and is set for 90 percent magnification in General 
  1446.       Settings. This feature of PM Patrol lends itself to high-end i486 and 
  1447.       Pentium based CPUs. Magnification is not reflected in the normal CPU 
  1448.       monitor on the PM Patrol Status Line window. 
  1449.  
  1450.    6. "Free RAM" is a green line and represents memory available for OS/2 and 
  1451.       applications. When enabled, the "Used RAM" graph line is disabled. 
  1452.  
  1453.    7. "Used RAM" is a green line and represents the memory in use by OS/2 and 
  1454.       applications. When enabled, the "Free RAM" graph line is disabled. 
  1455.  
  1456.    8. "Resident RAM" is a cyan line represents resident non-swappable memory 
  1457.       locked by OS/2 or applications. 
  1458.  
  1459.    9. "Swappable RAM" is a red line and represents memory capable of being 
  1460.       swapped-out by OS/2. 
  1461.  
  1462.  This window is refreshed automatically at the frequency as set in the "Refresh 
  1463.  Settings" setting "Activity Monitor". 
  1464.  
  1465.  The following itemizes the mouse button activities for the Activity Monitor. 
  1466.  
  1467.    1. A "Chord-Click" (left and right mouse buttons together) in the Activity 
  1468.       Monitor window will toggle the window title bar on and off. 
  1469.  
  1470.    2. A "Double-Click" with the left button in the Activity Monitor window will 
  1471.       toggle between Maximized and Restore views for the window. This is a 
  1472.       useful feature when the "Hide Title Bar" feature is used. 
  1473.  
  1474.    3. A "Single-Click" with the right button in the Activity Monitor window 
  1475.       will popup a menu allowing you select which line graphs to view and 
  1476.       change window controls ("Hide Title Bar", "Smoothed Lines", and "Float to 
  1477.       Top"). 
  1478.  
  1479.    4. Holding down the right mouse button (button 2), you may drag the Activity 
  1480.       Monitor window to the desired position. 
  1481.  
  1482.  The "Float to Top" option enables or disables the Activity Monitor window 
  1483.  being kept as the "topmost" window on the OS/2 desktop and therefore visible 
  1484.  all the time. 
  1485.  
  1486.  When enabled, the "Smoothed Lines" option will attempt to "fillet" or 
  1487.  smooth-out the line graphs reducing the effect of sharp jagged points. 
  1488.  
  1489.  Note:  "Smoothed Lines" will cause more overhead during refresh. If you have a 
  1490.  slower machine, you should be aware of this. An additional 3-5% more overhead 
  1491.  per refresh is not uncommon - depending on the speed of your computer. 
  1492.  
  1493.  When enabled, the "Sliding Graph" option will maintain a continuous graph that 
  1494.  will slide left 1 point after each refresh, thus filling the entire window 
  1495.  width of the graphing area. Otherwise, the graph lines will be "centered" and 
  1496.  will cause graph lines to restart from the center of the graph window when the 
  1497.  graph lines reach the rightmost edge. 
  1498.  
  1499.  The "Hide Title Bar" option allows the window to be sized to a minimum size 
  1500.  without the window title bar and controls getting in the way. 
  1501.  
  1502.  Accessed from the Activity Monitor popup window, the Legend shows the identity 
  1503.  and color of each monitor line along with the current statistics for each 
  1504.  monitor item. The legend can be configured to start-up automatically when the 
  1505.  Activity Monitor is started by selecting the "Auto-Start Legend" option also 
  1506.  in the popup menu. 
  1507.  
  1508.  Additionally, the "Persistent Legend" causes the legend to be started and 
  1509.  remain visible while the Activity Monitor is in a maximized state. 
  1510.  
  1511.  
  1512. ΓòÉΓòÉΓòÉ 10.2. Process Monitor ΓòÉΓòÉΓòÉ
  1513.  
  1514. The Process Monitor window provides the ability to monitor OS/2 active 
  1515. processes, threads, process and thread priorities, shared memory, DLLs, and CPU 
  1516. use per process. Processes (PIDs) can be "killed" by selecting "Kill" from the 
  1517. "Action" menu. 
  1518.  
  1519. Note:  With all PM Patrol Monitor windows (i.e. Process Monitor, Memory 
  1520. Monitor, and Network Monitor) active and automatically refreshing, may be too 
  1521. much overhead for some slower 386 class computers. Therefore, you may need to 
  1522. use these windows selectively and not continuously. The Process Monitor window 
  1523. will increase PM Patrol's CPU requirements by an additional 1-3 percent 
  1524. depending on your CPU speed. 
  1525.  
  1526. The container control in the Process Monitor window supports right-click popups 
  1527. for quick access to "Action" items and double-click selections. Double-clicking 
  1528. in the Process Monitor window invokes the Thread Monitor for the Process ID 
  1529. selected. 
  1530.  
  1531. The "View" menu item provides options to let you select the desired Process 
  1532. Monitor display and the following detail items: 
  1533.  
  1534.    1. The "Background" option switches the display to include/exclude processes 
  1535.       which are "System" or "Detached" process types or have no Session ID 
  1536.       (SID). This option provides the ability to focus only on "Foreground" 
  1537.       programs active on your system. Foreground programs will include all OS/2 
  1538.       PM, OS/2 character based, and DOS+Windows programs. When background 
  1539.       processes are filtered-out, the Process Monitor window will show the 
  1540.       total CPU used by background processes under the name "Bgnd (n)". Where n 
  1541.       reflects the number of process in the background. 
  1542.  
  1543.    2. The "Idle Time" option switches the display to include/exclude Idle 
  1544.       System time. When applications consume CPU, "Idle System" will decrease. 
  1545.       When your system sits idle, "Idle System" increases. When enabled, idle 
  1546.       CPU will be shown under the name "Idle Time". 
  1547.  
  1548.    3. The "Run-Time" option provides the ability to view the duration for which 
  1549.       a process has been active and running and is only applicable to the 
  1550.       "Process Monitor" window. 
  1551.  
  1552.    4. The "Session Title" option switches the display from executable names to 
  1553.       session names and is applicable to the "Process Monitor" and "Process 
  1554.       Summary" windows only. Some instances will show what appears to be a 
  1555.       duplicate session name. This occurs when one or more processes have the 
  1556.       same OS/2 Group Session/Screen ID. There is NOT always a 1 to 1 
  1557.       relationship between a Process and a Session. 
  1558.  
  1559.       Note:  Not all processes have a Session and will therefore display the 
  1560.       executable name instead. This occurs when the process never had a Session 
  1561.       to begin with, such as a daemon processes ("Detached" or "System" session 
  1562.       types). 
  1563.  
  1564.    5. The "Float to Top" option enables or disables the Process Monitor window 
  1565.       being kept as the "topmost" window on the OS/2 desktop and therefore 
  1566.       visible all the time. When obscured by another window, the Process 
  1567.       Monitor window will "float" to the top of the desktop - but will not be 
  1568.       the active window. 
  1569.  
  1570.       Note:  Refer to the on-line help section "Trouble Shooting" for 
  1571.       idiosyncrasies associated with the "Float to Top" option under OS/2 
  1572.       versions 2.1 and 2.11. 
  1573.  
  1574.  Note:  The Process Monitor window will always attempt to display the Session 
  1575.  Title for DOS/Windows programs. In the event that this can not be 
  1576.  accomplished, the name "dos/win" will be used. 
  1577.  
  1578.  The "Process Meter" option provides an alternative access point for the 
  1579.  Process Meter window and can also be accessed from the PM Patrol Utility 
  1580.  pop-up window. 
  1581.  
  1582.  The data displayed in the Process Monitor window is outlined below. Press 
  1583.  Escape to exit the window and terminate the "Process Monitor" facility. 
  1584.  
  1585.    1. "PID" Process ID (displayed as a hex value) 
  1586.  
  1587.    2. "Type" Session Type of process. Session types are categorized as: 
  1588.  
  1589.         a. "Sys" OS/2 System type processes. 
  1590.  
  1591.         b. "PM " OS/2 Presentation Manager GUI processes. 
  1592.  
  1593.         c. "VIO" OS/2 Window and full screen command prompt processes. VIO 
  1594.            represents Virtual Input/Output. 
  1595.  
  1596.         d. "VDM" DOS and Win-OS2 GUI processes. VDM represents Virtual DOS 
  1597.            Machine. 
  1598.  
  1599.         e. "Det" OS/2 detached background processes (daemons). 
  1600.  
  1601.    3. "HPri" Identifies the Highest PRIority class for the process across all 
  1602.       threads within the process. Refer to the Thread Monitor section below for 
  1603.       detailed descriptions of priority Classes. 
  1604.  
  1605.    4. "Thd" Number of threads in the process 
  1606.  
  1607.    5. "Run-Time" represents the duration for which a process has been actively 
  1608.       running and has the format "dd hh:mm" where: 
  1609.  
  1610.         a. "dd" is Days 
  1611.  
  1612.         b. "hh" is Hours 
  1613.  
  1614.         c. "mm" is Minutes 
  1615.  
  1616.       Note:  The "Run-Time" of a process is relative to when PM Patrol was 
  1617.       started. If PM Patrol is stopped and then restarted, the "Run-Time" for 
  1618.       processes will reset. It is recommended that PM Patrol be placed in the 
  1619.       OS/2 "Startup" folder so it is automatically started when you boot your 
  1620.       system. As a result, the "Run-Time" values will reflect very accurate 
  1621.       results. 
  1622.  
  1623.    6. "CPU" Amount of Relative CPU time the process (PID) consumed since the 
  1624.       last sample along with a bar-graph representation and percentage of total 
  1625.       CPU load across all processes. This is a "relative" CPU load as compared 
  1626.       to other active OS/2, DOS, and Windows programs. 
  1627.  
  1628.    7. "Process" Name of the executable or session 
  1629.  
  1630.  The data displayed in the Process Summary is outlined below. Press Escape to 
  1631.  exit the window and return to "Process Monitor". 
  1632.  
  1633.    1. "PID" Process ID (displayed as a hex value) 
  1634.  
  1635.    2. "PPID" Parent Process ID (displayed as a hex value) 
  1636.  
  1637.    3. "SID" Session ID (displayed as a hex value) 
  1638.  
  1639.    4. "Type" Session Type of process 
  1640.  
  1641.    5. "HMod" Program Executable module handle (displayed as a hex value) 
  1642.  
  1643.    6. "Thd" Number of threads in the PID 
  1644.  
  1645.    7. "Sem" Number of semaphores used by the PID 
  1646.  
  1647.    8. "DLL" Number of DLL modules used by the PID 
  1648.  
  1649.    9. "Shr" Number of shared memory references used by PID 
  1650.  
  1651.   10. "MMT" Memory Model Type of process (16 or 32 bit) 
  1652.  
  1653.   11. "Process" Name of the executable or session 
  1654.  
  1655.  The data displayed in the Thread Monitor window is for a given PID and is 
  1656.  outlined below. Press Escape to exit the window and return to "Process 
  1657.  Monitor". 
  1658.  
  1659.    1. "TID" Thread ID (displayed as a hex value). 
  1660.  
  1661.    2. "Slot" Slot ID for the TID (displayed as a hex value). 
  1662.  
  1663.    3. "Block ID" Block identifier for a blocked TID (displayed as a hex value). 
  1664.       A thread that is a "Ready" state will typically have a "Block ID" of 
  1665.       zero. 
  1666.  
  1667.    4. "Pri" Current priority for the TID.  This displays both priority Class 
  1668.       along with the current Range priority (display in decimal format) within 
  1669.       the Class. Priority "Ranges" operate within a priority Class and range 
  1670.       from 0 to 31, 0 being the lowest and the "normal" OS/2 default. The Range 
  1671.       provides robust priority control and granularity. Priority Classes are 
  1672.       categorized as: 
  1673.  
  1674.         a. "Idle" for low priority processes which only get CPU when nothing 
  1675.            else is running and the lowest OS/2 priority. 
  1676.  
  1677.         b. "Reg" for "normal" priority processes. This is the OS/2 default and 
  1678.            will be seen most often. 
  1679.  
  1680.         c. "Fore" for foreground priority processes. This is used for 
  1681.            processes/threads which need to be treated as if they are the 
  1682.            "active" window. Net effect of this class makes the process thread 
  1683.            operate at near time-critical performance. 
  1684.  
  1685.         d. "Crit" for time-critical processes and is the highest OS/2 priority. 
  1686.            This is used for process threads which require guaranteed 
  1687.            time-slices by OS/2 but the thread's CPU needs are typically very 
  1688.            short. 
  1689.  
  1690.    5. "Sys CPU" Amount of time thread spends in the OS/2 kernel along with the 
  1691.       percent of "Sys CPU" compared to TOTAL "Sys CPU" for all threads in the 
  1692.       same PID. 
  1693.  
  1694.    6. "User CPU" Amount of time application time for the thread along with the 
  1695.       percentage of "User CPU" compared to TOTAL "User CPU" for all threads in 
  1696.       the same PID.  This is relative to other threads getting time slices in 
  1697.       the same PID. 
  1698.  
  1699.    7. "State" Identifies what state the thread is in: Blocked, Frozen, Running, 
  1700.       or Ready. 
  1701.  
  1702.  The data displayed in Shared Memory window has the following attributes: Press 
  1703.  Escape to exit the window and return to "Process Monitor". 
  1704.  
  1705.    1. "HMem" Handle to memory allocation (displayed as a hex value) 
  1706.  
  1707.    2. "Sel" Selector to memory (displayed as a hex value) 
  1708.  
  1709.    3. "Refs" Number of references to the memory 
  1710.  
  1711.    4. "Name" Name of the memory used for obtaining addressability 
  1712.  
  1713.  The data displayed in the Dynamic Link Libs, Device Drivers, and File Systems 
  1714.  are outlined below. Press Escape to exit the window and return to "Process 
  1715.  Monitor". 
  1716.  
  1717.    1. "HMod" Handle to the module (displayed as a hex value) 
  1718.  
  1719.    2. "MMT" Memory Model Type of process (16 or 32 bit) 
  1720.  
  1721.    3. "Refs" Number of references to the module 
  1722.  
  1723.    4. "Name" Name of the module 
  1724.  
  1725.  
  1726. ΓòÉΓòÉΓòÉ 10.3. Process Meter ΓòÉΓòÉΓòÉ
  1727.  
  1728. The Process Meter window provides the ability to monitor process statistics for 
  1729. identifying duration and CPU consumption over a range of time. 
  1730.  
  1731. The "Process Metering" option in the PM Patrol "General Settings" dialog 
  1732. controls when this feature is active or inactive. For slower systems (i386 
  1733. class computers), turn Process Metering off if it is not used. 
  1734.  
  1735. By default, PM Patrol resets the Process Meter data base each time PM Patrol is 
  1736. started. This "Startup" option in PM Patrol's "General Settings" window 
  1737. controls this behavior. To keep PM Patrol from resetting the statistics, turn 
  1738. off the "Reset Process Meter" option. Doing so will cause PM Patrol to retain 
  1739. statistics across each invocation of PM Patrol. 
  1740.  
  1741. At the refresh interval as specified by "Process Monitors" in PM Patrol's 
  1742. "Refresh Settings", PM Patrol quietly collects vital information about active 
  1743. processes running on your system. The data collection algorithm used within the 
  1744. Process Meter facility is highly optimized and based on how frequently programs 
  1745. are used on your system, therefore using minimal CPU effort. 
  1746.  
  1747. All data is obtained by PM Patrol and requires no user input. 
  1748.  
  1749. The "Process Meter" window provides the ability to view several items about 
  1750. your programs over a range of time. This range of time is completely under your 
  1751. control as you have the ability to "Reset" the Process Meter data base any 
  1752. time. 
  1753.  
  1754.    1. Analyze the CPU consumption for each program you run relative to ALL 
  1755.       other programs that have been run since the last time you reset the 
  1756.       statistics. 
  1757.  
  1758.    2. Analyze the execution time used for each program you run relative to ALL 
  1759.       other programs that have been run since the last time you reset the 
  1760.       statistics. 
  1761.  
  1762.    3. Analyze the number of instances a program has been invoked. 
  1763.  
  1764.    4. Analyze the first and most recent date of execution for all processes run 
  1765.       on your OS/2 system. 
  1766.  
  1767.    5. Analyze the process types and priorities for all processes run on your 
  1768.       OS/2 system. 
  1769.  
  1770.    6. Sort in ascending order by process, CPU use, Run-Time, and frequency of 
  1771.       use. 
  1772.  
  1773.         a. Sort by Process sorts the list in alphabetic (ascending) order. 
  1774.  
  1775.         b. Sort by CPU Use sorts the list in descending order (processes 
  1776.            consuming most CPU are listed first). 
  1777.  
  1778.         c. Sort by Run-Time sorts the list in descending order (processes which 
  1779.            run the longest when executed are listed first). 
  1780.  
  1781.         d. Sort by Run-Count sorts the list in descending order (processes 
  1782.            which get run the most often are listed first). 
  1783.  
  1784.  Use the "Refresh" menu option (under "Action") for refreshing the Process 
  1785.  Meter window contents upon your request. PM Patrol will automatically update 
  1786.  this window for you every minute - but not when the Process Meter window is 
  1787.  the current "active" desktop window. This allows you to browse through the 
  1788.  list without being disturbed. 
  1789.  
  1790.  Use the "Reset Data Base" menu option (also under "Action") to initialize PM 
  1791.  Patrol's Process Meter data base. This erases the current list and restarts 
  1792.  the data collection process allowing you to monitor over a new range of time. 
  1793.  
  1794.  The Process Meter data base is maintained entirely by PM Patrol and saved when 
  1795.  PM Patrol is shutdown. The next time you run PM Patrol (typically at the next 
  1796.  OS/2 bootup) the data base is quickly reloaded and monitoring continues where 
  1797.  left off. 
  1798.  
  1799.  Note:  The CPU effort to collect Process Meter data, although minimal when 
  1800.  active, can be negatively influenced by adjusting the "Process Monitors" 
  1801.  frequency in PM Patrol's "Refresh Settings" dialog too low - depending on the 
  1802.  computer. As a rule of thumb, set the "Process Monitors" frequency to the 
  1803.  following, but never lower: 
  1804.  
  1805.    1. 5 seconds for i386 class computers 
  1806.  
  1807.    2. 4 seconds for i486 class computers 
  1808.  
  1809.    3. 3 seconds for Pentium class computers 
  1810.  
  1811.  The items displayed in the Process Meter window are: 
  1812.  
  1813.    1. "Process" represents the name of the executable 
  1814.  
  1815.    2. "Actual CPU" represents the actual CPU effort the process has used since 
  1816.       the last time the Process Meter was reset and reflects CPU usage only 
  1817.       when the process is active. This is an absolute CPU effort and not 
  1818.       relative to other programs run. Actual CPU tells you how much CPU the 
  1819.       process uses when its run. 
  1820.  
  1821.    3. "Relative CPU" represents the CPU effort the process has used, relative 
  1822.       to other programs used, since the last time the Process Meter was reset. 
  1823.  
  1824.    4. "Run-Time" represents the total amount of execution time for the process, 
  1825.       relative to other programs used, since the last time you performed a 
  1826.       "Reset Data Base". Next to "Run-Time" is the total execution time or 
  1827.       "Duration" for the process since the last "Reset Data Base". The format 
  1828.       displayed identifies Days, Hours, Minutes, and Seconds (Dd Hh:Mm.Ss). 
  1829.  
  1830.    5. "Run-Count" represents the total number of times the process has been 
  1831.       executed relative to other processes. The actual total number of 
  1832.       instances is identified under the heading "Frequency" (abbreviated as 
  1833.       "Freq"). 
  1834.  
  1835.    6. "Type" identifies the session type which are categorized as follows: 
  1836.  
  1837.         a. "Sys" OS/2 System type processes. 
  1838.  
  1839.         b. "PM " OS/2 Presentation Manager GUI processes. 
  1840.  
  1841.         c. "VIO" OS/2 Window and full screen command prompt processes. VIO 
  1842.            represents Virtual Input/Output. 
  1843.  
  1844.         d. "VDM" DOS and Win-OS2 GUI processes. VDM represents Virtual DOS 
  1845.            Machine. 
  1846.  
  1847.         e. "Det" OS/2 detached background processes (daemons). 
  1848.  
  1849.    7. "HPri" Identifies the Highest PRIority class for the process across all 
  1850.       threads within the process. The range of priority within OS/2 provides 
  1851.       robust priority control and granularity. Priority Classes are categorized 
  1852.       as: 
  1853.  
  1854.         a. "Idle" for low priority processes which only get CPU when nothing 
  1855.            else is running and the lowest OS/2 priority. 
  1856.  
  1857.         b. "Reg" for "normal" priority processes. This is the OS/2 default and 
  1858.            will be seen most often. 
  1859.  
  1860.         c. "Fore" for foreground priority processes. This is used for 
  1861.            processes/threads which need to be treated as if they are the 
  1862.            "active" window. Net effect of this class makes the process thread 
  1863.            operate at near time-critical performance. 
  1864.  
  1865.         d. "Crit" for time-critical processes and is the highest OS/2 priority. 
  1866.            This is used for process threads which require guaranteed 
  1867.            time-slices by OS/2 but the thread's CPU needs are typically very 
  1868.            short. 
  1869.  
  1870.    8. "MMT" represents the Memory Model Type of process (16 or 32 bit) 
  1871.  
  1872.    9. "Last Run" represents the last recent date the process was executed. 
  1873.  
  1874.   10. "First Run" represents the first date the process was executed. 
  1875.  
  1876.  Note:  This release of PM Patrol's Process Meter groups together the Run-time 
  1877.  and CPU efforts for all DOS+Win programs and identifies them in the Process 
  1878.  Meter list with a Process name of "DOS/Win". OS/2 command and REXX scripts 
  1879.  (.CMD) are reflected within the Process "cmd" - the actual executable which 
  1880.  supports REXX scripts. 
  1881.  
  1882.  
  1883. ΓòÉΓòÉΓòÉ 10.4. Memory Monitor ΓòÉΓòÉΓòÉ
  1884.  
  1885. The Memory Monitor window provides an optional view of several memory 
  1886. utilization monitors. 
  1887.  
  1888. This window is refreshed automatically at the frequency as set in the "Refresh 
  1889. Settings" setting "Memory Monitors". 
  1890.  
  1891.    1. The RAM Free item identifies current free memory. 
  1892.  
  1893.    2. The RAM Used item identifies current used memory. Combined, these two 
  1894.       items will always reflect 100% of the memory installed in your computer. 
  1895.  
  1896.    3. The Resident item identifies current resident or "fixed" memory which is 
  1897.       not swappable by OS/2. Most of this memory is owned and created by OS/2 
  1898.       and will vary little. 
  1899.  
  1900.    4. The Swappable item identifies current swappable memory and only includes 
  1901.       memory that is in use and not resident (or fixed). Therefore, the sum of 
  1902.       "Resident" and "Swappable" may not always equate to total physical 
  1903.       memory. Any difference can be attributed to free (unused) memory which is 
  1904.       not swapped. 
  1905.  
  1906.    5. The Virtual RAM item identifies current Virtual Memory capacity available 
  1907.       to OS/2. This item factors in available disk space for the drive which 
  1908.       the OS/2 swapper file is located as well as swapper file size. 
  1909.  
  1910.    6. The Swap Growth item identifies how much the swapper file has grown since 
  1911.       system boot. 
  1912.  
  1913.    7. The Swap Free item identifies how much free space remains in the OS/2 
  1914.       swapper file. 
  1915.  
  1916.    8. The Cache Read and Cache Write items identify the cache hit utilization 
  1917.       for HPFS386 and is only displayed when HPFS386 is installed and active. 
  1918.  
  1919.  Note:  With all PM Patrol Monitor windows (ie. Process Monitor, Memory 
  1920.  Monitor, and Network Monitor) active and automatically refreshing, there may 
  1921.  be too much overhead for some slower 386 class computers. Therefore, you may 
  1922.  need to use these windows selectively and not continuously. 
  1923.  
  1924.  
  1925. ΓòÉΓòÉΓòÉ 10.5. Network Monitor ΓòÉΓòÉΓòÉ
  1926.  
  1927. The Network Monitor window provides an optional view of several LAN network 
  1928. utilization monitors. 
  1929.  
  1930. This window is refreshed automatically at the frequency as set in the "Refresh 
  1931. Settings" setting "Network Monitors". 
  1932.  
  1933. The Network Monitor window is inaccessible and grayed-out in the PM Patrol 
  1934. Utility menu when LAN Server components are not installed on the workstation. 
  1935.  
  1936.    1. The Machine item identifies the workstation ID and does not change unless 
  1937.       the workstation id is changed manually and the system rebooted. 
  1938.  
  1939.    2. The User item identifies the current user logged to the LAN. 
  1940.  
  1941.    3. The Server Id item identifies the server ID that is currently logged on 
  1942.       to by the active user. 
  1943.  
  1944.    4. The Domain item identifies the domain ID that is currently logged on to 
  1945.       by the active user. 
  1946.  
  1947.    5. The Tot In item identifies the total accumulative bytes received by this 
  1948.       workstation from the LAN. The graph identifies "Total In" as compared to 
  1949.       total bytes received AND sent and therefore is a percent of total I/O. 
  1950.  
  1951.    6. The Tot Out item identifies the total accumulative bytes sent by this 
  1952.       workstation to the LAN. The graph identifies "Total Out" as compared to 
  1953.       total bytes received AND sent and therefore is a percent of total I/O. 
  1954.  
  1955.    7. The Bps In item identifies "Bytes Per Second" and is the average number 
  1956.       of bytes RECEIVED via LAN over the last "n" seconds where "n" is the 
  1957.       refresh frequency as set in the "Refresh Settings" setting "Network 
  1958.       Monitors". This offers a "snapshot" view of current average per second 
  1959.       inbound activity from the network. 
  1960.  
  1961.    8. The Bps Out item identifies "Bytes Per Second" and is the average number 
  1962.       of bytes SENT via LAN over the last "n" seconds where "n" is the refresh 
  1963.       frequency as set in the "Refresh Settings" setting "Network Monitors". 
  1964.       This offers a "snapshot" view of current average per second outbound 
  1965.       activity from the network. 
  1966.  
  1967.    9. The Bss In item identifies "Bytes Since last Sample" and is the total 
  1968.       number of bytes received via LAN over the last "n" seconds where "n" is 
  1969.       the refresh frequency as set in the "Refresh Settings". 
  1970.  
  1971.   10. The Bss Out item identifies "Bytes Since last Sample" and is the average 
  1972.       number of bytes sent via LAN over the last "n" seconds where "n" is the 
  1973.       refresh frequency as set in the "Refresh Settings". 
  1974.  
  1975.  Note:  With all PM Patrol Monitor windows (ie. Process Monitor, Memory 
  1976.  Monitor, and Network Monitor) active and automatically refreshing, may be too 
  1977.  much overhead for some slower 386 class computers. Therefore, you may need to 
  1978.  use these windows selectively and not continuously. 
  1979.  
  1980.  
  1981. ΓòÉΓòÉΓòÉ 10.6. Port Monitor ΓòÉΓòÉΓòÉ
  1982.  
  1983. The Port Monitor window provides insight and advanced control over LPT parallel 
  1984. ports on your system. 
  1985.  
  1986. This window is refreshed automatically in real-time as events occur for all 
  1987. ports. Refresh occurs when the port is opened, closed, and after every 10 
  1988. packets pass through the port device driver. 
  1989.  
  1990. Using the "Reset" menu option, you can initialize the current statistics for 
  1991. each port. This option will reset all statistics for ALL ports, but will keep 
  1992. the LPT Controls (Pass-thru and Debug) in their current settings. PM Patrol 
  1993. will retain these statistics across each invocation of PM Patrol. It is up to 
  1994. you when you want these statistics initialized. 
  1995.  
  1996. Controlled from the "Spooler" priority object within the OS/2 System Setup 
  1997. folder, printing performance can be fine tuned for print jobs that are sent 
  1998. through the OS/2 spooler. 
  1999.  
  2000. Printing can be monitored via PM Patrol's Port Monitor whether the OS/2 spooler 
  2001. is active or not. 
  2002.  
  2003.    1. The Port item identifies the LPT port. 
  2004.  
  2005.    2. The Jobs item identifies the current total number of jobs having passed 
  2006.       through the LPT port. Technically speaking, "jobs" constitutes each time 
  2007.       the port was opened for I/O. 
  2008.  
  2009.    3. The Rate item identifies the total bytes per second (BPS) that have been 
  2010.       sent and received via the LPT port. This value is very accurate, but can 
  2011.       be influenced greatly if the "Debug" option is enabled. This value 
  2012.       constitutes an average over ACTUAL time (milliseconds) that the port is 
  2013.       open. 
  2014.  
  2015.    4. The Time item identifies the average time (seconds) for print jobs. 
  2016.  
  2017.    5. The Pass item identifies the current status of the Pass-thru option. When 
  2018.       enabled, all I/O is allowed to pass through the LPT device driver. 
  2019.       Otherwise, all I/O is "eaten". This is beneficial when simulation is 
  2020.       required. 
  2021.  
  2022.    6. The Debug item identifies the current state of "Debugging". 
  2023.  
  2024.    7. The Act item identifies whether an active job currently exists on the 
  2025.       port. 
  2026.  
  2027.  Turning on the "Debug" option allows you to monitor and watch each packet sent 
  2028.  to the port via the Debug viewing window. This feature is designed to allow 
  2029.  monitoring of packets via Debug. Using the new Debug facility, individual 
  2030.  packets can be monitored providing "data scope" capability. When Debug is 
  2031.  enabled for a selected LPT port, an artificial delay (1 second) is inserted 
  2032.  between each packet sent to the port. 
  2033.  
  2034.  The "Pass-thru" option allows you to enable/disable data to be passed through 
  2035.  the port. Used primarily for testing purposes, this feature enables the 
  2036.  simulation of port activity without an actual printer be attached. 
  2037.  
  2038.  Note:  With all PM Patrol Monitor windows (ie. Process Monitor, Memory 
  2039.  Monitor, and Network Monitor) active and automatically refreshing, may be too 
  2040.  much overhead for some slower 386 class computers. Therefore, you may need to 
  2041.  use these windows selectively and not continuously. 
  2042.  
  2043.  
  2044. ΓòÉΓòÉΓòÉ 10.7. Event Monitor ΓòÉΓòÉΓòÉ
  2045.  
  2046. The Event Monitor window allows you to view the current state of PM Patrol 
  2047. events from a "bird's eye view". 
  2048.  
  2049. The Event items reflect each of the events within PM Patrol. 
  2050.  
  2051. Active represents the current activity state of each event. A check mark will 
  2052. be displayed when the event is active. 
  2053.  
  2054. THold identifies the upper or lower Threshold limit for each event as defined 
  2055. in "Event Settings". This allows you to compare the event state and the 
  2056. threshold limit to exceed. 
  2057.  
  2058. Count identifies the number of times the event occured. This value is 
  2059. incremented each time the event threshold is exceeded the first time, but not 
  2060. upon re-notification. 
  2061.  
  2062. Last State and Occurrance identifies the resource "state", date, and time when 
  2063. the event last occured. These values are updated the first time the event 
  2064. occurs and at re-notification. 
  2065.  
  2066. Selecting "Reset" from the "Action" menu will allow you to initialize all event 
  2067. statistics. Event statistics are retained and accumulate across each invocation 
  2068. of PM Patrol. It is up to you when you want to reset the event statistics. 
  2069.  
  2070. This window is updated when an event occurs as well as every minute. 
  2071.  
  2072.  
  2073. ΓòÉΓòÉΓòÉ 10.8. Drives Monitor ΓòÉΓòÉΓòÉ
  2074.  
  2075. The Drives Monitor window allows you to view current drive attachments, current 
  2076. assignments (LAN), capacity, and used/free space. 
  2077.  
  2078. For network performance reasons, this window is refreshed automatically every 
  2079. minute on its own and can not be controlled from the "Refresh Settings" 
  2080. options. Use the drop-down menu option "Refresh" (under the "Action" menu) to 
  2081. manually refresh the window yourself. 
  2082.  
  2083. The "Utilization" graph displayed identifies USED space on the drive - not 
  2084. free. 
  2085.  
  2086.  
  2087. ΓòÉΓòÉΓòÉ 10.9. Status Line ΓòÉΓòÉΓòÉ
  2088.  
  2089. This section describes the monitor items that can be displayed on the main PM 
  2090. Patrol Status Line. 
  2091.  
  2092.  
  2093. ΓòÉΓòÉΓòÉ 10.9.1. Current Date ΓòÉΓòÉΓòÉ
  2094.  
  2095. Display of the current date. Selecting the "Show Julian Date" will add the 
  2096. current Julian date to this item. 
  2097.  
  2098.  
  2099. ΓòÉΓòÉΓòÉ 10.9.2. Current Time ΓòÉΓòÉΓòÉ
  2100.  
  2101. Display of the current time with the option of showing seconds as part of the 
  2102. time when "Show Seconds" is selected in the "Options" dialog. 
  2103.  
  2104.  
  2105. ΓòÉΓòÉΓòÉ 10.9.3. System Up-Time ΓòÉΓòÉΓòÉ
  2106.  
  2107. Display the total time that OS/2 has been up and running since last boot. 
  2108.  
  2109. The PM Patrol Status Line display for this monitor will reflect the format "dd 
  2110. hh:mm" representing "days", "hours", and "minutes". 
  2111.  
  2112.  
  2113. ΓòÉΓòÉΓòÉ 10.9.4. Internet Connect-Time ΓòÉΓòÉΓòÉ
  2114.  
  2115. Displays the total time that the workstation has been connected to the Internet 
  2116. when using a modem and the "Point-to-Point Protocol" (PPP) or the "Serial Line 
  2117. IP" (SLIP) of IBM's Internet Access Kit. 
  2118.  
  2119. The PM Patrol Status Line display for this monitor will reflect the format "dd 
  2120. hh:mm x" representing "days", "hours", and "minutes". The "x" is an indicator 
  2121. to inform you when your connected. A flashing arrow pointing up indicates 
  2122. your're connected. An arrow pointing down indicates your not. 
  2123.  
  2124. This monitor will automatically reset to zero if PM Patrol is stopped and then 
  2125. restarted. For manual reset, refer the Utility popup option for "Reset Internet 
  2126. Time". 
  2127.  
  2128. The Internet Connect feature for PM Patrol does not apply to TCP/IP connections 
  2129. via a LAN. 
  2130.  
  2131.  
  2132. ΓòÉΓòÉΓòÉ 10.9.5. Keyboard Status ΓòÉΓòÉΓòÉ
  2133.  
  2134. The Keyboard Status displays the status of CapsLock, NumLock, and ScrollLock 
  2135. keyboard settings. 
  2136.  
  2137.  
  2138. ΓòÉΓòÉΓòÉ 10.9.6. Net User ID ΓòÉΓòÉΓòÉ
  2139.  
  2140. When logged-on to a LAN Server, the current "User ID" is displayed. This 
  2141. options requires that IBM LAN Requester network software be installed on the 
  2142. local workstation. 
  2143.  
  2144.  
  2145. ΓòÉΓòÉΓòÉ 10.9.7. Spooler Monitor ΓòÉΓòÉΓòÉ
  2146.  
  2147. This item allows you to monitor print jobs that are in print queues.  This 
  2148. includes print jobs that are Held, Printing, Canceling, and other dispositions. 
  2149. There is two types of monitoring: 
  2150.  
  2151.    1. Display total print jobs across all spooler queues. 
  2152.  
  2153.    2. Display total print jobs per spooler queue. 
  2154.  
  2155.  The "Total all Queues" option in the "General Settings" switches between the 
  2156.  two modes identifies above. 
  2157.  
  2158.  When logged-on to a LAN Server you can monitor its remote print queues. Refer 
  2159.  to the "General Settings" section for more details. 
  2160.  
  2161.  
  2162. ΓòÉΓòÉΓòÉ 10.9.8. Process Summary ΓòÉΓòÉΓòÉ
  2163.  
  2164. This display item reveals the total current number of OS/2 processes and 
  2165. threads in the system. This includes PIDs and TIDs of any state; Blocked, 
  2166. Running, and Ready. 
  2167.  
  2168. The Process Summary items are displayed as follows; the numbers shown below are 
  2169. examples: 
  2170.  
  2171.    1. "12p" representing 14 active processes (p). 
  2172.  
  2173.    2. "63t" representing 63 active threads (t). 
  2174.  
  2175.  
  2176. ΓòÉΓòÉΓòÉ 10.9.9. Drives On-line ΓòÉΓòÉΓòÉ
  2177.  
  2178. This item displays the current drive letters for available drives accessible 
  2179. from this computer.  Network drives are supported. 
  2180.  
  2181.  
  2182. ΓòÉΓòÉΓòÉ 10.9.10. Drive 1-6 Monitors ΓòÉΓòÉΓòÉ
  2183.  
  2184. Displays the free space (MB) for a selected drive. To select a different drive 
  2185. to monitor you may choose you one of the following methods: 
  2186.  
  2187.    1. Single click the right mouse button on the PM Patrol Status Line and then 
  2188.       select the "Drives" menu item.  Select "Monitor" to choose a drive. 
  2189.  
  2190.    2. Double click the left mouse button on the PM Patrol Status Line to get 
  2191.       the Options dialog.  Then select the "Utility" menu bar item followed by 
  2192.       the "Drives" menu option. 
  2193.  
  2194.  Selected drives will be permanently "remembered" as defaults when changed. 
  2195.  
  2196.  Selected drives will report a "?" when the drive changes "off-line".  This can 
  2197.  occur if the drive is a network drive and the user performs a LOGOFF.  Or, 
  2198.  removing a removable media type such as a floppy diskette. 
  2199.  
  2200.  By default, PM Patrol maps drives 1 through 6 on the Status Line to drives C 
  2201.  through H. This drive mapping can be changed to any desired combination. 
  2202.  
  2203.    1. From the PM Patrol Status Line, right-click the Status Line. 
  2204.  
  2205.    2. Select the "Drives" menu option 
  2206.  
  2207.    3. Then select the "Status Line" option. 
  2208.  
  2209.    4. This will display a menu identifying the current drive mappings assigned. 
  2210.       Select the PM Patrol drive number you wish to change. 
  2211.  
  2212.    5. A mini dialog will popup displaying current drives on-line and 
  2213.       accessible. Choose which drive to map. 
  2214.  
  2215.    6. To tell PM Patrol to show the drive on the Status Line select the drive 
  2216.       number in PM Patrol's "Status Line Monitors" in the "Options" dialog. 
  2217.  
  2218.    7. This information is saved and remembered by PM Patrol. 
  2219.  
  2220.  When a drive being monitored goes off-line, PM Patrol displays a "?" in place 
  2221.  of the free space for the drive to inform you the drive is off-line. This is 
  2222.  more common when monitoring remote drives on a network. 
  2223.  
  2224.  
  2225. ΓòÉΓòÉΓòÉ 10.9.11. Battery Status ΓòÉΓòÉΓòÉ
  2226.  
  2227. This item informs the user how much battery power is remaining. 
  2228.  
  2229. The OS/2 APM facilities assume the battery to be 100% new. As the battery ages, 
  2230. the original maximum life of the battery diminishes. Especially for NICad 
  2231. batteries. PM Patrol allows you to specify a "new" maximum life. When set at 
  2232. zero, observe the PM Patrol "Bat" percentage. When your computer informs you 
  2233. the battery is dangerously low (usually several short beeps), observe the 
  2234. percentage that PM Patrol reports. This value becomes the new "zero" point. 
  2235. Select this value in the "Battery Calibration" field in the "General Settings" 
  2236. dialog. Repeat this process every 3-4 months to ensure accurate and reliable 
  2237. battery readings. 
  2238.  
  2239. Note:  This option is accessible only if APM is installed via OS/2 and the 
  2240. computer is a mobile computer capable of power management (i.e. 386sl+). 
  2241.  
  2242. When (and if) the battery status is unknown, PM Patrol displays a question mark 
  2243. in replacement of the actual percentage of power remaining. 
  2244.  
  2245.  
  2246. ΓòÉΓòÉΓòÉ 10.9.12. HPFS386 Cache Monitor ΓòÉΓòÉΓòÉ
  2247.  
  2248. PM Patrol will monitor the read/write cache hit ratio for systems running the 
  2249. 32-bit High Performance File System (HPFS386). 
  2250.  
  2251. The read/write percentages are displayed on the PM Patrol Status Line with the 
  2252. abbreviation "Crw". This abbreviation represents "Cache Read Writes", so the 
  2253. first percentage seen is Reads and the second percentage is writes. 
  2254.  
  2255. Note:  This version of PM Patrol only supports the ability to obtain Cache 
  2256. ratios from HPFS386 and not the 16-bit HPFS shipped with OS/2. PM Patrol will 
  2257. display a "?" if HPFS386 Cache Monitoring is selected but not installed/active. 
  2258.  
  2259.  
  2260. ΓòÉΓòÉΓòÉ 10.9.13. Swap Monitor ΓòÉΓòÉΓòÉ
  2261.  
  2262. This display option displays the current size of the OS/2 swapper file and what 
  2263. percent of free space remains in the swap file. 
  2264.  
  2265. Due to the nature and dynamics of OS/2's method of virtual memory swapping, PM 
  2266. Patrol's calculation of free swap space is an approximation and may not result 
  2267. in an exact calculation all the time. As compared to all PM Patrol's resource 
  2268. monitors, swap utilization is the only one that may yield approximation. For 
  2269. systems that are memory rich and therefore swap little, monitoring swap 
  2270. utilization may not be necessary. 
  2271.  
  2272.  
  2273. ΓòÉΓòÉΓòÉ 10.9.14. Virtual RAM Monitor ΓòÉΓòÉΓòÉ
  2274.  
  2275. Virtual RAM item identifies current Virtual Memory capacity available to OS/2. 
  2276. This item factors in available disk space for the drive which the OS/2 swapper 
  2277. file is located as well as swapper file size. 
  2278.  
  2279.  
  2280. ΓòÉΓòÉΓòÉ 10.9.15. Resident RAM Monitor ΓòÉΓòÉΓòÉ
  2281.  
  2282. The Resident RAM monitor allows you to see OS/2 memory which is non-swappable 
  2283. fixed memory. Typically, this will include OS/2 system memory and any memory 
  2284. allocated by processes which is marked as non-discardable memory. 
  2285.  
  2286.  
  2287. ΓòÉΓòÉΓòÉ 10.9.16. Free RAM Monitor ΓòÉΓòÉΓòÉ
  2288.  
  2289. This displays the amount of free RAM (k) and the percentage of free RAM as 
  2290. compared to total physical memory installed in the computer. 
  2291.  
  2292. Optionally, you can view free RAM in bar-graph form by enabling the "RAM Graph" 
  2293. option in the "Quick Configure" section of the "Options" dialog. 
  2294.  
  2295. OS/2 views memory as a flat linear address space and deploys a true Virtual 
  2296. Memory Model. Because of this, calculation of Free Memory is subject to the 
  2297. following constraint. 
  2298.  
  2299. Note:  If your system hardware consists of MORE than 16MB of memory and the 
  2300. hard disk controller is a 16-bit adapter, calculation of Free Memory may not be 
  2301. accurately reported. Use a 32-bit disk controller adapter with more than 16MB 
  2302. RAM. 
  2303.  
  2304.  
  2305. ΓòÉΓòÉΓòÉ 10.9.17. CPU Monitor ΓòÉΓòÉΓòÉ
  2306.  
  2307. PM Patrol monitors the CPU utilization every second. If the "CPU Graph" has 
  2308. been enabled in the Options dialog, then a bar-graph view of CPU usage is 
  2309. displayed in addition to the percentage. 
  2310.  
  2311. Along with the current CPU load, PM Patrol also maintains a rolling average of 
  2312. CPU utilization over 1 minute. This is called the "CPU Average" in PM Patrol. 
  2313.  
  2314.  
  2315. ΓòÉΓòÉΓòÉ 10.9.18. User Defined Monitor ΓòÉΓòÉΓòÉ
  2316.  
  2317. PM Patrol provides a "user defined" monitor to be displayed at the end of the 
  2318. main Status Line and can be logged in the Logging Facility. Using the PM Patrol 
  2319. "DCFUserDefined" API within a C/C++ program, you can format a monitor buffer of 
  2320. your choice. Refer to the API description for DCFUserDefined for details. 
  2321.  
  2322.  
  2323. ΓòÉΓòÉΓòÉ 11. Utility ΓòÉΓòÉΓòÉ
  2324.  
  2325. The Utility section provides a growing number of utility items. This section 
  2326. will, along with monitor items, continue to grow in functionality. 
  2327.  
  2328. The "Utility" menu can be accessed from the PM Patrol "Options" dialog or from 
  2329. the PM Patrol Status Line and clicking the right mouse button. 
  2330.  
  2331.  
  2332. ΓòÉΓòÉΓòÉ 11.1. Logger ΓòÉΓòÉΓòÉ
  2333.  
  2334. The Logger facility provides a robust mechanism for recording all PM Patrol 
  2335. monitors to a file. Once logged, the user can "view" the logged data for 
  2336. further review. 
  2337.  
  2338. Most monitor items can be selected/deselected from being logged in the "Logger 
  2339. Settings" along with several other Logger Options such as duration, frequency, 
  2340. and location of log file(s). 
  2341.  
  2342. The log file is ASCII and able to be further manipulated using tools such as 
  2343. Rexx, AWK, and GREP. A convenient "field separator" (vertical bar=0xb3) is 
  2344. included in the log file for identifying individual fields in the log file 
  2345. record. 
  2346.  
  2347. The PM Patrol Logger is designed with special consideration for performance. 
  2348. When logging, the Logger mechanism requires very little CPU. The PM Patrol 
  2349. Logger can be used in a variety of situations: 
  2350.  
  2351.    1. Real-time and time critical logging with 1 second samples. 
  2352.  
  2353.    2. Casual logging with infrequent (1 per minute) samples 
  2354.  
  2355.  
  2356. ΓòÉΓòÉΓòÉ 11.1.1. Start/Stop ΓòÉΓòÉΓòÉ
  2357.  
  2358. The Start/Stop option start or stops the logging activity. 
  2359.  
  2360.  
  2361. ΓòÉΓòÉΓòÉ 11.1.2. View Primary Log ΓòÉΓòÉΓòÉ
  2362.  
  2363. The View Primary Log option allows you to view the contents of the information 
  2364. recently logged. The Viewer program can be defined in the "General Settings" 
  2365. section. The default Viewer is the PM Patrol's View program "PMPVIEW.EXE". 
  2366.  
  2367. The name and location of the primary log file is user settable. This is 
  2368. specified in the "Logger Settings" settings. 
  2369.  
  2370.  
  2371. ΓòÉΓòÉΓòÉ 11.1.3. View Backup Log ΓòÉΓòÉΓòÉ
  2372.  
  2373. The View Backup Log option allows you to view the contents of the information 
  2374. logged previously. If the "backup log" option is not enabled, this option is 
  2375. not accessible. 
  2376.  
  2377. The location of the backup log file is the same as the location for the primary 
  2378. log file as specified in the PM Patrol "Logger Settings". 
  2379.  
  2380. The name of the backup log file name is always "PMPATROL.BAK". 
  2381.  
  2382.  
  2383. ΓòÉΓòÉΓòÉ 11.1.4. Delete All Logs ΓòÉΓòÉΓòÉ
  2384.  
  2385. The Delete All Logs option allows you to delete all PM Patrol log files from 
  2386. disk (if present). This includes the primary and backup log files. 
  2387.  
  2388.  
  2389. ΓòÉΓòÉΓòÉ 11.2. Debug ΓòÉΓòÉΓòÉ
  2390.  
  2391. The Debug facility is a flexible and easy to use real-time Debugger for the 
  2392. software developer that provides debugging capabilities that are impossible for 
  2393. the source-level debugger, easier to use, and often more convenient. 
  2394.  
  2395. Debug is used by the PM Patrol Port Monitor to provide a "data scope" for 
  2396. information being passed through the printer port for LPT1-LPT3. 
  2397.  
  2398. Once logged, the user can "view" the logged data for further review. The log 
  2399. file is ASCII and able to be further manipulated using tools such as Rexx, AWK, 
  2400. and GREP. 
  2401.  
  2402.  
  2403. ΓòÉΓòÉΓòÉ 11.2.1. Start/Stop Debug ΓòÉΓòÉΓòÉ
  2404.  
  2405. The Start/Stop Debug option starts or stops the Debug Facility. 
  2406.  
  2407.  
  2408. ΓòÉΓòÉΓòÉ 11.2.2. Start/Stop Debug Log ΓòÉΓòÉΓòÉ
  2409.  
  2410. Output from the Debug facility is sent to the Debug viewing window. When 
  2411. logging is started, the output also goes to the "DBUG.LOG" file and is 
  2412. immediately viewable. 
  2413.  
  2414. When logging is stopped, the "DBUG.LOG" is closed. The next time logging is 
  2415. started, the "DBUG.LOG" file is backed-up to "DBUG.BAK" and a new "DBUG.LOG" is 
  2416. created. 
  2417.  
  2418.  
  2419. ΓòÉΓòÉΓòÉ 11.2.3. View Primary Log ΓòÉΓòÉΓòÉ
  2420.  
  2421. The View Primary Log option allows you to view the contents of the information 
  2422. recently logged. The Viewer program can be defined in the "General Settings" 
  2423. section. The default Viewer is the PM Patrol's View program "PMPVIEW.EXE". 
  2424.  
  2425. The name and location of the Debug log files are constant. Located in the PM 
  2426. Patrol installation directory, log files are named "DBUG.LOG" for the primary 
  2427. and "DBUG.BAK" for the backup log file. 
  2428.  
  2429.  
  2430. ΓòÉΓòÉΓòÉ 11.2.4. View Backup Log ΓòÉΓòÉΓòÉ
  2431.  
  2432. The View Backup Log option allows you to view the contents of the information 
  2433. logged previously. 
  2434.  
  2435.  
  2436. ΓòÉΓòÉΓòÉ 11.2.5. Delete Debug Logs ΓòÉΓòÉΓòÉ
  2437.  
  2438. The Delete Debug Logs option allows you to delete all Debug log files from disk 
  2439. (if present). This includes the primary and backup log files. 
  2440.  
  2441.  
  2442. ΓòÉΓòÉΓòÉ 11.3. Drives ΓòÉΓòÉΓòÉ
  2443.  
  2444. The Drives options provides the ability to switch drives that are on-line and 
  2445. you wish to monitor, format(full and fast), check and view summary information 
  2446. for a particular drive. 
  2447.  
  2448. This is accessed from the PM Patrol "Utility" menu. 
  2449.  
  2450.  
  2451. ΓòÉΓòÉΓòÉ 11.3.1. Status Line ΓòÉΓòÉΓòÉ
  2452.  
  2453. The Status Line option provides the ability to switch drives that are on-line 
  2454. that you may want to monitor on the PM Patrol Status Line. After selecting the 
  2455. drive (1 through 6) to change, the "Drives List" popup allows you to select a 
  2456. drive. 
  2457.  
  2458. After selecting a drive from the "Drive List", the drive appears on the PM 
  2459. Patrol Status Line and is remembered when PM Patrol is ended. 
  2460.  
  2461.  
  2462. ΓòÉΓòÉΓòÉ 11.3.2. Drive Map and Summary ΓòÉΓòÉΓòÉ
  2463.  
  2464. The Drive Map and Summary option provides the ability to view summary, detail, 
  2465. and directory map information for a selected drive. 
  2466.  
  2467. The Drive Summary options displays volume specifics as well as media format and 
  2468. device type. Summary level data displays a wealth of information. 
  2469.  
  2470. The Drive Map option displays a graphical view of directories, size of 
  2471. directories, and distribution of directory sizes relative to total USED space 
  2472. on the file system. 
  2473.  
  2474. The bar-graph is calculated in comparison to the LARGEST size directory found 
  2475. on the drive, while the percentage is calculated in comparison to the total 
  2476. USED space on the drive. 
  2477.  
  2478. Note:  The Drive Map "Bytes" reflects total space USED per directory and 
  2479. includes both Slack bytes and EA bytes of files in the subdirectory - not just 
  2480. the bytes comprising each file. 
  2481.  
  2482.  
  2483. ΓòÉΓòÉΓòÉ 11.4. Spooler ΓòÉΓòÉΓòÉ
  2484.  
  2485. The Spooler options support a variety of Print Spooler utilities such as: 
  2486.  
  2487.    1. Purge all print jobs in a Print Queue (Local or Remote) 
  2488.  
  2489.    2. Release all print jobs in a Print Queue (Local or Remote) 
  2490.  
  2491.    3. Hold all print jobs in a Print Queue (Local or Remote) 
  2492.  
  2493.  If logged on to a LAN Server and signed-on under the LAN Administrator ID, ALL 
  2494.  functions can be performed remotely for any LAN Server and these functions 
  2495.  will affect ALL print jobs for the specified Print Queue. Otherwise, these 
  2496.  functions will be performed for any print jobs OWNED by the current user of 
  2497.  the workstation for the specified Print Queue. 
  2498.  
  2499.  Note:  The "Purge Queue" function deletes ALL print jobs of any state (held, 
  2500.  printing, spooling, or released). 
  2501.  
  2502.  
  2503. ΓòÉΓòÉΓòÉ 11.5. Programs ΓòÉΓòÉΓòÉ
  2504.  
  2505. The Programs option provides quick access to user definable programs. Using the 
  2506. "Program Settings" dialog, you can add up to 45 of your favorite programs. 
  2507.  
  2508.  
  2509. ΓòÉΓòÉΓòÉ 11.5.1. Program Settings ΓòÉΓòÉΓòÉ
  2510.  
  2511. The "Program Settings" dialog allows you to specify: 
  2512.  
  2513.    1. The "Program Name". Duplicate names are allowed. This field is a required 
  2514.       field in order for the entry to appear on the program popup menu. 
  2515.  
  2516.    2. The "Path and File Name" for the executable (.EXE or .COM).  To invoke 
  2517.       the OS/2 command prompt enter "CMD.EXE". This field is a required field 
  2518.       in order for the entry to appear on the program popup menu. 
  2519.  
  2520.    3. The "Parameters" field allows you to enter any program parameters that 
  2521.       may be required by the program you want to run. You can have PM Patrol 
  2522.       prompt you for parameters when you launch the program by entering a '?' 
  2523.       as the first character in the "Parameters" field. Place default 
  2524.       parameters after the '?' if desired. This will invoke a dialog box when 
  2525.       you run the program and allow you to enter new parameters. 
  2526.  
  2527.    4. The "Working Directory" informs the program launcher what the default 
  2528.       drive and directory are to be when the program is launched. 
  2529.  
  2530.  The "Session" group allows you to further control HOW you wish to run the 
  2531.  program: as native OS/2 PM, Windows session, full screen, DOS, and more. 
  2532.  Except for DOS/Windows programs, use "Default" when your're unsure. 
  2533.  
  2534.    1. The "Win Enh" item identifies a Windows 3.1 Enhanced program and will be 
  2535.       run as a "seamless" Windows session in "unprotected mode" (same session). 
  2536.  
  2537.    2. The "Win Std" item identifies a Windows 3.1 Standard program and will be 
  2538.       run as a "seamless" Windows session in "unprotected mode" (same session). 
  2539.  
  2540.  The "Window" group allows you to start the program in a minimized state. 
  2541.  Additionally, you can select "Display existing window" to control the behavior 
  2542.  when you run the program again.  All programs are run in the "Foreground". 
  2543.  With this enabled, PM Patrol will only allow 1 instance of the program to run 
  2544.  and make the active instance of the program the foreground session. Otherwise, 
  2545.  a new and separate session is started. 
  2546.  
  2547.  The "Priority" group allows you advanced process control over a program's OS/2 
  2548.  priority. This includes both priority "Class" as well as the priority "Range" 
  2549.  within the Class. 
  2550.  
  2551.  Within the "Class" control, you can select 1 of 4 different classes: 
  2552.  
  2553.    1. "Regular" Class identifies a "normal" setting and is the default. This 
  2554.       should typically be used for most programs. If your're unsure of the 
  2555.       Class setting, use "Regular". 
  2556.  
  2557.    2. "Idle" class indicates that a program should only execute when nothing 
  2558.       else is running. Typically used for carefree background processes. 
  2559.  
  2560.    3. "Foreground" class indicates that a program should execute at a 
  2561.       fixed-high priority, but below time critical as if it were the "active" 
  2562.       window. Net effect of this class makes the process operate at near 
  2563.       time-critical performance. 
  2564.  
  2565.    4. "Critical" Class identifies a program as a "Time Critical" process. 
  2566.       Understand that selecting this may cause other programs running to 
  2567.       execute slower. 
  2568.  
  2569.  The "Range" operates within the selected "Class" and you can select 1 of 4 
  2570.  different Range priority levels within each Class. 
  2571.  
  2572.    1. "Regular" Range identifies the "normal" and default priority setting 
  2573.       within the Class selected. This should typically be used for most 
  2574.       programs and is the default. If you are unsure of the Range setting, use 
  2575.       "Regular". 
  2576.  
  2577.    2. "Low" Range identifies the lowest possible priority setting within the 
  2578.       Class selected. Low and Regular have identical effects. This was chosen 
  2579.       by design to avoid confusion as to what was a "normal" Range setting. 
  2580.  
  2581.    3. "Medium" Range indicates a midpoint priority level between the Low and 
  2582.       High Ranges. 
  2583.  
  2584.    4. "High" Range indicates the highest possible priority within the class 
  2585.       selected. 
  2586.  
  2587.  Note:  Use "Regular" for both Class and Range settings when the priority 
  2588.  requirement of the process is unknown; this should be used as the default in 
  2589.  all situations. You should rarely (if ever) set the priority combination to 
  2590.  "Critical" Class and "High" Range settings. Doing so could likely bring OS/2 
  2591.  to its knees for a very CPU bound program. 
  2592.  
  2593.  Note:  Once launched, a program can change its own priority Class and Range 
  2594.  settings. This means that PM Patrol sets the program's "default" priorities 
  2595.  with those that you select, but does not control it after the program has been 
  2596.  launched. A good example of this is running Windows programs. The Win-OS/2 
  2597.  environment will typically change the priority to "Regular" for both Class and 
  2598.  Range. 
  2599.  
  2600.  The "Action" item in the menu allows you to Add, Delete, or Run the 
  2601.  highlighted program in the "Program List". To change an existing program's 
  2602.  properties, simply select the program in the list, then change the desired 
  2603.  fields for the program. Changes are immediate. 
  2604.  
  2605.  Alternately, you can click the right mouse button while the mouse pointer is 
  2606.  positioned over the "Program List" to get a quick access popup menu to the 
  2607.  actions. 
  2608.  
  2609.  
  2610. ΓòÉΓòÉΓòÉ 11.6. Desktop ΓòÉΓòÉΓòÉ
  2611.  
  2612. The System Setup option opens the OS/2 WorkPlace Shell "System Setup" folder 
  2613. object. 
  2614.  
  2615. The System Startup option opens the OS/2 WorkPlace Shell "Startup" folder 
  2616. object. 
  2617.  
  2618. The Tools option opens the OS/2 WorkPlace Shell "Main" folder for an assortment 
  2619. of OS/2 tools. 
  2620.  
  2621. The Games option opens the OS/2 WorkPlace Shell "Games" folder for an 
  2622. assortment of OS/2 games. 
  2623.  
  2624. The Drives option opens the OS/2 WorkPlace Shell "Drives" folder for disk 
  2625. utilities. 
  2626.  
  2627. The LaunchPad option opens the OS/2 WorkPlace Shell LaunchPad object. 
  2628.  
  2629. The Minimized option opens the OS/2 WorkPlace Shell "Minimized" folder object. 
  2630.  
  2631. The Templates option opens the OS/2 WorkPlace Shell "Templates" folder object. 
  2632.  
  2633. The Information option opens the OS/2 WorkPlace Shell "Information" folder for 
  2634. an assortment of books. 
  2635.  
  2636. The Command Prompts option opens the OS/2 WorkPlace Shell "Command Prompts" 
  2637. folder for an assortment of OS/2 command windows. 
  2638.  
  2639. The Font Palette option opens this OS/2 WorkPlace Shell palette 
  2640.  
  2641. The Scheme Palette option opens this OS/2 WorkPlace Shell palette 
  2642.  
  2643. The Color Palette option opens this OS/2 WorkPlace Shell palette 
  2644.  
  2645. The Minimize Windows option minimizes all visible windows on the OS/2 desktop. 
  2646. Convenient for periodically "clearing" the desktop when too many windows are 
  2647. active. 
  2648.  
  2649. The Restart Desktop option allows you to restart your OS/2 desktop and 
  2650. optionally specify a different set of OS/2 INI files to use. This option is 
  2651. particularly useful in network environments where individuals move from 
  2652. workstation to workstation and wish to inherit their "desktop personality" on a 
  2653. different PC. The "Defaults" option is designed to facilitate the the process 
  2654. of quickly switching back to the local workstation's default INI files. The 
  2655. "Restart Desktop" is unavailable when PM Patrol is started in "Secured" mode. 
  2656.  
  2657. Note:  Be aware that on some multimedia enabled systems, restarting the OS/2 
  2658. desktop may temporarily disable multimedia (MMPM/2). 
  2659.  
  2660. The Restore Windows option restores all minimized windows in the OS/2 Task 
  2661. Window or Minimized Folder to the OS/2 desktop. 
  2662.  
  2663. The Close All Folders option quickly closes all open OS/2 desktop folders. 
  2664. Convenient for periodically "clearing" the desktop when too many windows are 
  2665. active. 
  2666.  
  2667. The PM Patrol Shutdown option is an alternate way to shutdown PM Patrol 
  2668. quickly. This option will only appear in the Utility Popup menu when invoked 
  2669. from the PM Patrol Status Line. When selected, this will shutdown PM Patrol 
  2670. quickly and without confirmation. If PM Patrol is started in "Secured Mode 
  2671. (-S)", this option is not available and will not appear in the menu. If the PM 
  2672. Patrol Password is set, then you will be prompted to enter the correct password 
  2673. before PM Patrol is shutdown. 
  2674.  
  2675. The Normal OS/2 Shutdown option is an alternate way to perform a normal OS/2 
  2676. shutdown. If the PM Patrol Password is set, then you will be prompted to enter 
  2677. the correct password before a shutdown is granted. 
  2678.  
  2679. The Forced OS/2 Shutdown option is used when the normal OS/2 shutdown procedure 
  2680. is unresponsive and will shutdown OS/2 active file systems. This should be used 
  2681. as a last resort. If the PM Patrol Password is set, then you will be prompted 
  2682. to enter the correct password before a forced shutdown is granted. 
  2683.  
  2684. Note:  This forces a proper OS/2 shutdown for all active file systems and open 
  2685. files, but does not perform a WorkPlace Shell shutdown. Any recent changes to 
  2686. the OS/2 desktop since the last normal OS/2 shutdown may not be saved. 
  2687.  
  2688.  
  2689. ΓòÉΓòÉΓòÉ 11.7. Display ΓòÉΓòÉΓòÉ
  2690.  
  2691. The Open Monitor Windows option opens and activates all PM Patrol Monitor 
  2692. windows including Process Monitor, Memory Monitor, and Network Monitor. This 
  2693. provides quick access to these popular monitor windows of PM Patrol. 
  2694.  
  2695. The Close Monitor Windows option closes all PM Patrol Monitor windows including 
  2696. Process Monitor, Memory Monitor, and Network Monitor. 
  2697.  
  2698. The Suspend Status Line option freezes the Status Line display until you Resume 
  2699. the display. 
  2700.  
  2701. The Hide Status Line option hides the Status Line display until you re-select 
  2702. it from the OS/2 Window List. While hidden, all active PM Patrol operations 
  2703. continue unless the display has been "suspended". This option is convenient for 
  2704. those who wish to temporarily view the desktop window below PM Patrol or for 
  2705. security purposes. 
  2706.  
  2707. The Refresh Status Line option immediately forces PM Patrol to re-sample and 
  2708. refresh all items being monitored on the PM Patrol main Status Line. 
  2709.  
  2710. The Reset Internet Time option allows you to reset the Internet Connect-Time to 
  2711. zero. This can be useful for tracking and costing Internet access. 
  2712.  
  2713.  
  2714. ΓòÉΓòÉΓòÉ 11.8. Utilities ΓòÉΓòÉΓòÉ
  2715.  
  2716. This menu contains several additional utilities that are always 1 click away 
  2717.  
  2718.  
  2719. ΓòÉΓòÉΓòÉ 11.8.1. Sleep Now ΓòÉΓòÉΓòÉ
  2720.  
  2721. The Sleep Now option places the mobile computer (SL chips) into suspend mode. 
  2722. This option is accessible only when APM (Advanced Power Management) is 
  2723. installed and the user is not logged-on to the LAN Server for workstations 
  2724. connected to a LAN Server network. Refer to the OS/2 Installation Guide for APM 
  2725. details. 
  2726.  
  2727.  
  2728. ΓòÉΓòÉΓòÉ 11.8.2. Fast Find ΓòÉΓòÉΓòÉ
  2729.  
  2730. The Fast Find option provides a way to find files on a particular disk drive. A 
  2731. number of search constraints are available such as finding 32-bit, open files, 
  2732. and files with a combination of attributes set (Read Only, Hidden, etc.). 
  2733.  
  2734. Enter the desired drive and file/pattern to search for. Click "Find" (or Enter] 
  2735. to begin the search. Click "Stop" to cancel the search. Select "All Drives" to 
  2736. search for files across all drives currently on-line. 
  2737.  
  2738. Note:  Refer to the "FF" command line utility also shipped with PM Patrol for 
  2739. searching and collecting files from the command line. 
  2740.  
  2741. Note:  Refer to the "FDUPS" command line utility also shipped with PM Patrol 
  2742. for searching and collecting files that are duplicate from the command line. 
  2743.  
  2744. The container control in the Fast Find window supports right-click popups for 
  2745. quick access to "Action" items and double-click selections. 
  2746.  
  2747. Double-clicking in the Fast Find window invokes "Edit", "View", or "Execute" 
  2748. options for the item selected. If the item is a multimedia WAV file, the WAV 
  2749. file is played. 
  2750.  
  2751. The "Last Write" and "Last Access" days allow you to specify a number of days 
  2752. that the file must meet or exceed (>=) for the Fast Find facility to collect. 
  2753. This is advantageous when searching for inactive files for LAN administration. 
  2754.  
  2755. Note:  The "Last Access" date is only applicable to file systems that support 
  2756. this attribute, such as HPFS. FAT does NOT support this file system attribute 
  2757. and therefore use of "Last Access" days should be avoided. 
  2758.  
  2759. The "File Size" field provides that ability to narrow the search and look for 
  2760. files where the file size meets or exceeds a given size. This size is specified 
  2761. in terms of Kilobytes (KB). For example, If your're searching for files greater 
  2762. than or equal to 512K, then enter 512. 
  2763.  
  2764. Additional search criteria allows you to narrow the search for: 
  2765.  
  2766.    1. "OS2/Win" files. These are files that are OS/2 PM and Windows files using 
  2767.       Win API calls. Files include *.DLL, *.EXE, *.SYS and more. 
  2768.  
  2769.    2. "32-Bit" files.  These are files that are 32-bit OS/2 files. Files 
  2770.       include *.EXE, *.DLL, *.SYS, and more. 
  2771.  
  2772.    3. "Opened" files.  These are files that are currently open and in use by 
  2773.       other OS/2, DOS, or Windows programs. 
  2774.  
  2775.    4. "DOS" files.  These are files that DOS only files and include *.EXE, 
  2776.       *.COM, and more. 
  2777.  
  2778.       Note:  Searching for files with the above specified attributes causes 
  2779.       overhead and should be used selectively. Searching for "Opened" files 
  2780.       causes considerable overhead and could take several minutes to complete 
  2781.       the search. 
  2782.  
  2783.  Also provided is the ability to restrict the search to finding only files with 
  2784.  particular file attributes. Such as Hidden, Read-Only, and more.  Selecting 
  2785.  these items causes a "RESTRICTIVE" search - not "INCLUSIVE". 
  2786.  
  2787.  You can customize the display items (file slack size, file EA size, last write 
  2788.  and access dates) in the "View" menu option. These settings will be saved 
  2789.  automatically when PM Patrol is shutdown. 
  2790.  
  2791.  There are several "Action" items that are provided. These include the ability 
  2792.  to "Edit", "View", and "Delete" files that are selected. To select items, 
  2793.  simply single click the item or "Select All" items in the list. Be careful of 
  2794.  the "Delete" option. It works well - even if the file is marked as read-only, 
  2795.  the files will be deleted. A popup message box is displayed to confirm your 
  2796.  "Delete" request. 
  2797.  
  2798.  The "File" and "Edit" options operate the same way as in the "Process 
  2799.  Monitor","Drives Monitor", System Info" windows, and all others. These options 
  2800.  allow you to copy/append to the clipboard, save list to a file, or print list 
  2801.  to a printer. 
  2802.  
  2803.  The Fast Find facility allows you to specify that search operations should 
  2804.  always run at a low priority - only when there is little OS/2 activity. This 
  2805.  can be specified in the "General Settings" setup and may be desirable for LAN 
  2806.  administration functions. This is identified by "Idle Time Searches". 
  2807.  
  2808.  
  2809. ΓòÉΓòÉΓòÉ 11.8.3. Fast Help ΓòÉΓòÉΓòÉ
  2810.  
  2811. The Fast Help option provides very fast access to a complete list of OS/2 
  2812. Information (.INF) and Help (.HLP), and DOS+Windows (.HLP) files that are 
  2813. on-line and available for viewing. 
  2814.  
  2815. Accessed from the PM Patrol Utility menu, the Fast Help feature creates a "Help 
  2816. Data Base" the first time it's accessed. Stored where PM Patrol is installed, 
  2817. the help data base refresh can take a minute to build. 
  2818.  
  2819. Subsequent invocations of the Fast Help window do not auto-refresh the help 
  2820. data base. It is up to you when you wish to refresh the data base. PM Patrol 
  2821. searches ALL drives on-line when refreshing the help data base. 
  2822.  
  2823. Via the "View" menu item, you can filter-out duplicate help files to make 
  2824. navigating the list a bit easier. 
  2825.  
  2826. To view a on-line help file, simply double click on the file in the list. 
  2827. DOS+Windows help files are always viewed seamlessly on the OS/2 desktop. 
  2828.  
  2829. The "Filter" options operate in the following manners: 
  2830.  
  2831.    1. The "Filter Duplicates" removes duplicate help files from the window 
  2832.       list. As a result, only unique help files are displayed. 
  2833.  
  2834.    2. The "Filter OS/2 Files" removes OS/2 specific help files (both .INF and 
  2835.       .HLP) from the window list. As a result, only DOS+Windows help files are 
  2836.       displayed. 
  2837.  
  2838.    3. The "Filter Win Files" removes DOS+Windows specific help files (.HLP) 
  2839.       from the window list. As a result, only OS/2 help files are displayed. 
  2840.  
  2841.  Note:  Limitation with OS/2 .HLP help files. Due to the nature of OS/2 .HLP 
  2842.  help files, only one of these help files can be viewed at a time through PM 
  2843.  Patrol's Fast Help facility. If another .HLP help file is selected, the 
  2844.  previous .HLP help file will be closed down. There are no limitations with 
  2845.  OS/2 .INF or DOS+Windows .HLP help files. 
  2846.  
  2847.  
  2848. ΓòÉΓòÉΓòÉ 11.8.4. System Info ΓòÉΓòÉΓòÉ
  2849.  
  2850. The System Info displays 3 basic types of information: 
  2851.  
  2852.    1. OS/2 System information displays the basic configuration of OS/2 and the 
  2853.       hardware present on your system. Many of the items are static and don't 
  2854.       change while OS/2 is operating. Many of these items are modifiable in the 
  2855.       CONFIG.SYS. Refer to OS/2 help for more detail. 
  2856.  
  2857.    2. Presentation Manager colors. These can be modified via the "Color 
  2858.       Palette" in the OS/2 "System" folder. 
  2859.  
  2860.    3. Presentation Manager information displays items specific to PM. Many of 
  2861.       these can be modified in the "Setup" folder of the WorkPlace Shell. 
  2862.  
  2863.  
  2864. ΓòÉΓòÉΓòÉ 11.8.5. Scheduler ΓòÉΓòÉΓòÉ
  2865.  
  2866. The Scheduler option provides quick access to user definable programs that are 
  2867. to be run at specified times. Using the "Scheduler Settings" dialog, you can 
  2868. add up to 128 of programs to run at specified times. 
  2869.  
  2870. Similar in function to the UNIX CRON utility, the "Scheduler" provides the 
  2871. ability to run any program at user specified days and times. 
  2872.  
  2873. The "Scheduler Settings" dialog allows you to specify: 
  2874.  
  2875.    1. The "Program Name". Duplicate names are allowed. This field is a required 
  2876.       field in order for the entry to appear on the program popup menu. 
  2877.  
  2878.    2. The "Path and File Name" for the executable (.EXE or .COM).  To invoke 
  2879.       the OS/2 command prompt enter "CMD.EXE". This field is a required field 
  2880.       in order for the entry to appear on the program popup menu. 
  2881.  
  2882.    3. The "Parameters" field allows you to enter any program parameters that 
  2883.       may be required by the program you want to run. You can have PM Patrol 
  2884.       prompt you for parameters when the scheduler launches the program by 
  2885.       entering a '?' as the first character in the "Parameters" field. Place 
  2886.       default parameters after the '?' if desired. This will invoke a dialog 
  2887.       box when the program is scheduled to run and allow you to enter new 
  2888.       parameters. 
  2889.  
  2890.    4. The "Working Directory" informs the scheduler what the default drive and 
  2891.       directory are to be when the program gets launched. 
  2892.  
  2893.  The "Session" group allows you to further control HOW you wish to run the 
  2894.  program: as native OS/2 PM, Windows session, full screen, DOS, and more. 
  2895.  Except for DOS/Windows programs, use "Default" when your're unsure. 
  2896.  
  2897.    1. The "Win Enh" item identifies a Windows 3.1 Enhanced program and will be 
  2898.       run as a "seamless" Windows session in "unprotected mode" (same session). 
  2899.  
  2900.    2. The "Win Std" item identifies a Windows 3.1 Standard program and will be 
  2901.       run as a "seamless" Windows session in "unprotected mode" (same session). 
  2902.  
  2903.  The "Window" group allows you to start the program in a minimized state. Some 
  2904.  programs may resist the minimized state when their invoked. 
  2905.  
  2906.  The "Activation" group allows you to indicate that the Scheduled Entry is 
  2907.  "active" or "inactive". The program will only get launched when this is 
  2908.  selected. 
  2909.  
  2910.  The "Priority" group allows you advanced process control over a program's OS/2 
  2911.  priority. This includes both priority "Class" as well as the priority "Range" 
  2912.  within the Class. 
  2913.  
  2914.  Within the "Class" control, you can select 1 of 4 different classes: 
  2915.  
  2916.    1. "Regular" Class identifies a "normal" setting and is the default. This 
  2917.       should typically be used for most programs. If your're unsure of the 
  2918.       Class setting, use "Regular". 
  2919.  
  2920.    2. "Idle" class indicates that a program should only execute when nothing 
  2921.       else is running. Typically used for carefree background processes. 
  2922.  
  2923.    3. "Foreground" class indicates that a program should execute at a 
  2924.       fixed-high priority, but below time critical as if it were the "active" 
  2925.       window. Net effect of this class makes the process operate at near 
  2926.       time-critical performance. 
  2927.  
  2928.    4. "Critical" Class identifies a program as a "Time Critical" process. 
  2929.       Understand that selecting this may cause other programs running to 
  2930.       execute slower. 
  2931.  
  2932.  The "Range" operates within the selected "Class" and you can select 1 of 4 
  2933.  different Range priority levels within each Class. 
  2934.  
  2935.    1. "Regular" Range identifies the "normal" and default priority setting 
  2936.       within the Class selected. This should typically be used for most 
  2937.       programs and is the default. If you are unsure of the Range setting, use 
  2938.       "Regular". 
  2939.  
  2940.    2. "Low" Range identifies the lowest possible priority setting within the 
  2941.       Class selected. Low and Regular have identical effects. This was chosen 
  2942.       by design to avoid confusion as to what was a "normal" Range setting. 
  2943.  
  2944.    3. "Medium" Range indicates a midpoint priority level between the Low and 
  2945.       High Ranges. 
  2946.  
  2947.    4. "High" Range indicates the highest possible priority within the class 
  2948.       selected. 
  2949.  
  2950.  Note:  Use "Regular" for both Class and Range settings when the priority 
  2951.  requirement of the process is unknown; this should be used as the default in 
  2952.  all situations. You should rarely (if ever) set the priority combination to 
  2953.  "Critical" Class and "High" Range settings. Doing so could likely bring OS/2 
  2954.  to its knees for a very CPU bound program. 
  2955.  
  2956.  Note:  Once launched, a program can change its own priority Class and Range 
  2957.  settings. This means that PM Patrol sets the program's "default" priorities 
  2958.  with those that you select, but does not control it after the program has been 
  2959.  launched. A good example of this is running Windows programs. The Win-OS/2 
  2960.  environment will typically change the priority to "Regular" for both Class and 
  2961.  Range. 
  2962.  
  2963.  The "Schedule" group provides you the ability to specify the time the program 
  2964.  is to be launched. All programs are launched in the "background" and NOT the 
  2965.  foreground session. 
  2966.  
  2967.  The time to launch can be specified by selecting the desired Month, Week Day, 
  2968.  Hour, and Minute.  Event time permutations are as follows: 
  2969.  
  2970.    1. Month: provides "Every" month or a specified month (January through 
  2971.       December). 
  2972.  
  2973.    2. Week Day: provides "Every" day, specified day (Sunday through Saturday), 
  2974.       weekdays (Monday through Friday), or weekends (Saturday and Sunday). 
  2975.  
  2976.    3. Hour: provides "Every" hour or a specified hour (12:00 AM through 11:00 
  2977.       PM). 
  2978.  
  2979.    4. Minute: provides "Every" minute or a specified minute (0 through 59). 
  2980.  
  2981.  The "Action" item in the menu allows you to Add, Delete, or Run the 
  2982.  highlighted program in the "Program List". To change an existing program's 
  2983.  properties, simply select the program in the list, then change the desired 
  2984.  fields for the program. Changes are immediate. 
  2985.  
  2986.  Alternately, you can click the right mouse button while the mouse pointer is 
  2987.  positioned over the "Program List" to get a quick access popup menu to the 
  2988.  actions. 
  2989.  
  2990.  
  2991. ΓòÉΓòÉΓòÉ 11.8.6. WorkPlace Classes ΓòÉΓòÉΓòÉ
  2992.  
  2993. The WorkPlace Classes option provides quick access to all registered WorkPlace 
  2994. Shell class objects and provides the ability to register new classes or 
  2995. deregister classes no longer needed. 
  2996.  
  2997. Note:  Typically used by developers, this facility should be used with caution. 
  2998. DO NOT deregister classes without careful consideration. Deleting some classes 
  2999. may render your OS/2 WorkPlace shell inoperable. 
  3000.  
  3001. The "Class Name" represents the object class name as registered and known by 
  3002. the OS/2 WorkPlace Shell. 
  3003.  
  3004. The "Module Name" represents the DLL or SOM library which contains the object 
  3005. methods associated with the class. 
  3006.  
  3007. To deregister a class, simply highlight the class name from the list and select 
  3008. the "Deregister Class" option in the "Action" menu. 
  3009.  
  3010. Likewise, to register a new class to the WorkPlace shell, select "Register 
  3011. Class" from this same menu. Enter the new class name and library module. The 
  3012. Library module must be a fully qualified drive, path, and file name of the DLL. 
  3013.  
  3014.  
  3015. ΓòÉΓòÉΓòÉ 11.8.7. Fast Format ΓòÉΓòÉΓòÉ
  3016.  
  3017. Fast Format performs a very fast format for diskettes (drives A or B) that are 
  3018. ALREADY formatted. This is much faster, and easier, than manually deleting 
  3019. files off a diskette or reformatting. You'll be surprised how often this proves 
  3020. useful.  This option will work on all diskette types (720KB, 1.44MB, and 
  3021. 2.88MB). 
  3022.  
  3023. In order to support all current and future read/writable media types (and 
  3024. extended attributes), PM Patrol employs a Fast Format method that is affected 
  3025. by the number of preexisting files on the disk media. The more files on the 
  3026. disk, the longer it may take to complete the Fast format. The Fast Format 
  3027. operation usually takes several seconds. Since the Fast Format allows 
  3028. concurrent access to the disk while formatting, files or directories that are 
  3029. open will not be removed. 
  3030.  
  3031. Only logical drives A and B are currently supported. 
  3032.  
  3033. Fast Format also allows you to specify a new volume label name. 
  3034.  
  3035.  
  3036. ΓòÉΓòÉΓòÉ 11.9. Command Line Utilities ΓòÉΓòÉΓòÉ
  3037.  
  3038. Packaged with PM Patrol are several OS/2 32-bit Command Line utilities. These 
  3039. utilities complement the PM Patrol personality. 
  3040.  
  3041.  
  3042. ΓòÉΓòÉΓòÉ 11.9.1. FF (Find Files) ΓòÉΓòÉΓòÉ
  3043.  
  3044. This utility is accessed from the OS/2 command prompt window. If the "Bonus" 
  3045. option was selected at PM Patrol installation, then this utility is installed 
  3046. into the PMP subdirectory. To allow this utility to be invoked regardless of 
  3047. the current working directory, alter the CONFIG.SYS file and add PMP to the end 
  3048. of the PATH statement. 
  3049.  
  3050. It provides the same functionality and features as the "Fast Find" facility of 
  3051. PM Patrol. FF enables you to search for files across multiple drives regardless 
  3052. of the number of files. Like the "Fast Find", FF is a turbo charged "find 
  3053. files" utility. 
  3054.  
  3055. The syntax for "FF" is: 
  3056.  
  3057. FF filespec [/R /H /S /A /D /O /E /LN /SN /AD /LA /LW /SK]
  3058.     /R   read only attr
  3059.     /H   hidden attr
  3060.     /S   system attr
  3061.     /A   archive attr
  3062.     /D   directory attr
  3063.     /O   open files
  3064.     /E   erase files
  3065.     /LN  long file names
  3066.     /SN  short file names
  3067.     /AD  all drives
  3068.     /LAn  n days since access
  3069.     /LWn  n days since write
  3070.     /SKn  >= n Kbytes in size
  3071.     ?   help
  3072.  
  3073. "filespec" represents a File Pattern where wild cards are allowed. The default 
  3074. File Pattern is "*" for all files. 
  3075.  
  3076.  
  3077. ΓòÉΓòÉΓòÉ 11.9.2. FDUPS (Find Duplicates) ΓòÉΓòÉΓòÉ
  3078.  
  3079. This utility is accessed from the OS/2 command prompt window. If the "Bonus" 
  3080. option was selected at PM Patrol installation, then this utility is installed 
  3081. into the PMP subdirectory. To allow this utility to be invoked regardless of 
  3082. the current working directory, alter the CONFIG.SYS file and add PMP to the end 
  3083. of the PATH statement. 
  3084.  
  3085. The "FDUPS" utility finds duplicate files by comparing the file name, size 
  3086. and/or last write date.  Between these options, you expect a very high 
  3087. confidence level that 1 or more files are duplicates. 
  3088.  
  3089. The "FDUPS" utility takes several minutes to run depending on the number of 
  3090. files on the disk drive being searched. Select the /i option to make FDUPS run 
  3091. at idle time - when there is little OS/2 activity. 
  3092.  
  3093. The syntax for "FDUPS" is: 
  3094.  
  3095. FDUPS filespec [/S, /D, /A, /I]
  3096.     /S   include size comparison
  3097.     /D   include date comparison
  3098.     /A   search all drives
  3099.     /I   run at idle time
  3100.     ?   help
  3101.  
  3102. "filespec" represents a File Pattern where wild cards are allowed. The default 
  3103. File Pattern is "*" for all files. 
  3104.  
  3105.  
  3106. ΓòÉΓòÉΓòÉ 11.9.3. FDUMP (File Dump) ΓòÉΓòÉΓòÉ
  3107.  
  3108. This utility is accessed from the OS/2 command prompt window. If the "Bonus" 
  3109. option was selected at PM Patrol installation, then this utility is installed 
  3110. into the PMP subdirectory. To allow this utility to be invoked regardless of 
  3111. the current working directory, alter the CONFIG.SYS file and add PMP to the end 
  3112. of the PATH statement. 
  3113.  
  3114. The "FDUMP" utility will dump the contents of any file displaying the ASCII and 
  3115. HEX representation of each byte in the file. 
  3116.  
  3117. This utility provides the ability to specify the format of the output in either 
  3118. a vertical or horizontal fashion. Furthermore, where binary files have specific 
  3119. record lengths, FDUMP allows you to specify this as well. 
  3120.  
  3121. The output from FDUMP is displayed on the screen but can be redirected using 
  3122. the ">outfile" parameter. 
  3123.  
  3124. The syntax for "FDUMP" is: 
  3125.  
  3126. FDUMP filespec [/R=] [/H|/V]
  3127.  
  3128. "filespec" represents a file name to examine. This must be specified. 
  3129.  
  3130. "/R=nn" tells FDUMP to dump the contents of the file using nn record length. 
  3131.  
  3132. "/H" tells FDUMP to dump the contents of the file in horizontal mode. This is 
  3133. the default used by FDUMP. 
  3134.  
  3135. "/V" tells FDUMP to dump the contents of the file in vertical mode. 
  3136.  
  3137.  
  3138. ΓòÉΓòÉΓòÉ 11.9.4. PIDKILL (Kill OS/2 Process) ΓòÉΓòÉΓòÉ
  3139.  
  3140. This utility is accessed from the OS/2 command prompt window. If the "Bonus" 
  3141. option was selected at PM Patrol installation, then this utility is installed 
  3142. into the PMP subdirectory. To allow this utility to be invoked regardless of 
  3143. the current working directory, alter the CONFIG.SYS file and add PMP to the end 
  3144. of the PATH statement. 
  3145.  
  3146. The "PIDKILL" utility allows you to terminate (UNIX-kill 9) a OS/2 program and 
  3147. all its threads. 
  3148.  
  3149. "PIDKILL" takes 1 parameter: the PID to kill. This PID value can be identified 
  3150. by using the PM Patrol Process Monitor window or using the OS/2 "PSTAT" command 
  3151. line utility shipped with OS/2. 
  3152.  
  3153. Note:  A PID that is "blocked" (waiting on another OS/2 resource) may not 
  3154. always be able to be "killed". Repeat attempts may be necessary. 
  3155.  
  3156. The syntax for "PIDKILL" is: 
  3157.  
  3158. PIDKILL pid
  3159.  
  3160. "pid" represents a HEX value as identified in the PM Patrol Monitor window or 
  3161. the OS/2 command line utility "PSTAT". 
  3162.  
  3163. Note:  Recall that the PM Patrol Process Monitor window also allows you to 
  3164. "Kill" PIDs. 
  3165.  
  3166.  
  3167. ΓòÉΓòÉΓòÉ 11.9.5. QMGMT (Queue Management) ΓòÉΓòÉΓòÉ
  3168.  
  3169. This utility is accessed from the OS/2 command prompt window. If the "Bonus" 
  3170. option was selected at PM Patrol installation, then this utility is installed 
  3171. into the PMP subdirectory. To allow this utility to be invoked regardless of 
  3172. the current working directory, alter the CONFIG.SYS file and add PMP to the end 
  3173. of the PATH statement. 
  3174.  
  3175. The "QMGMT" utility allows you to perform various Print Spooler Queue 
  3176. management functions similar to Print Spooler functions available in the PM 
  3177. Patrol program. 
  3178.  
  3179. These functions include purging, releasing, holding, and deleting 1 or more 
  3180. spooler queues. 
  3181.  
  3182. The syntax for "QMGMT" is: 
  3183.  
  3184. QMGMT qname [options]
  3185.  
  3186. "qname" represents the queue to act upon. Enter a queue name or default to ALL 
  3187. queues. 
  3188.  
  3189. "options" represents 1 of the actions to perform on the print queue. By 
  3190. default, QMGMT will report summary information (/I) and status of the queue(s). 
  3191.  
  3192.  
  3193. ΓòÉΓòÉΓòÉ 12. Data Collection Facility ΓòÉΓòÉΓòÉ
  3194.  
  3195. This section discusses the Data Collection Facility (DCF) of PM Patrol. 
  3196.  
  3197.  
  3198. ΓòÉΓòÉΓòÉ 12.1. DCF Definition ΓòÉΓòÉΓòÉ
  3199.  
  3200. The Data Collection Facility (DCF) of PM Patrol is a high performance data 
  3201. acquisition and statistics collecting engine. This engine is one of the 
  3202. by-products of PM Patrol and used by PM Patrol itself. 
  3203.  
  3204. Available to PM Patrol users is a simple API set allowing the C/C++ programmer 
  3205. access to this statistical data. 
  3206.  
  3207. The engine is ALWAYS gathering statistics regardless of what monitor items have 
  3208. been selected for the PM Patrol Status Line display window. These include all 
  3209. monitor items possible in PM Patrol along with others that are not monitorable 
  3210. by the PM Patrol Status Line. 
  3211.  
  3212. The DCF engine causes no extra overhead as it is a integral component of PM 
  3213. Patrol. API interface calls to the DCF engine are extremely fast. Memory to 
  3214. hold the statistics is always resident because PM Patrol is constantly updating 
  3215. it. 
  3216.  
  3217.  
  3218. ΓòÉΓòÉΓòÉ 12.2. DCF Programming Files ΓòÉΓòÉΓòÉ
  3219.  
  3220. The PM Patrol software contains 3 files for DCF programming purposes: 
  3221.  
  3222.    1. PMPAPI.H is a C/C++ header containing all constants, definitions, 
  3223.       structures, and the like. "Include" this header file in your C/C++ 
  3224.       programs. 
  3225.  
  3226.    2. PMPAPI.LIB is the Import Library to link with to resolve DCF APIs. You 
  3227.       must link (LINK386) with this Import Library to resolve external 
  3228.       references and is specified in the LINK386 options. 
  3229.  
  3230.    3. PMPAPI.DLL is the Dynamic Link Library which holds the actual code of 
  3231.       APIs 
  3232.  
  3233.  For compiling and linking, append the installation path used for PM Patrol to 
  3234.  the following statements in your CONFIG.SYS file: 
  3235.  
  3236.    1. "LIB" statement for the API import library (PMPAPI.LIB). 
  3237.  
  3238.    2. "INCLUDE" statement for the API C/C++ header (PMPAPI.H). 
  3239.  
  3240.  Make sure the PM Patrol DLL is available at run time by appending the 
  3241.  installation path used for PM Patrol to the following statements in your 
  3242.  CONFIG.SYS file: 
  3243.  
  3244.    1. "LIBPATH" statement for the API DLL (PMPAPI.DLL). 
  3245.  
  3246.  
  3247. ΓòÉΓòÉΓòÉ 12.3. DCF API Set ΓòÉΓòÉΓòÉ
  3248.  
  3249. This section describes in detail the API set for interfacing with PM Patrol 
  3250. Data Collection Facility. 
  3251.  
  3252.  
  3253. ΓòÉΓòÉΓòÉ 12.3.1. DCFGetStats() API ΓòÉΓòÉΓòÉ
  3254.  
  3255. This API provides the ability to retrieve the PM Patrol real-time statistics. 
  3256. These statistics are maintained in a shared memory segment and retrieval with 
  3257. DCFGetStats() is therefore VERY fast. However, it is highly recommended that 
  3258. this API be called no more frequently that once per second. Since PM Patrol 
  3259. updates this structure at most once per second, calling this API more 
  3260. frequently than PM Patrol updates it would be useless and waste CPU. 
  3261.  
  3262. Prototype: APIRC DCFGetStats (PDCFSTATS pDCFStats)
  3263.  
  3264. Parms:   PDCFSTATS      ... Address of DCFSTATS structure
  3265.  
  3266. Returns:  DCF_NO_ERROR    ... Successful with no errors
  3267.       DCF_PARM_ERROR   ... Invalid parm specified
  3268.       DCF_INACTIVE_ERROR ... DCF not active
  3269.  
  3270. Notes:   Statistics are updated at frequencies defined in the PM Patrol
  3271.       "Refresh Settings" dialog under "Settings" options.
  3272.       Refer to PMPAPI.H for statistical items collected by DCF.
  3273.  
  3274. Example:  Query current statistics and display drives on-line
  3275. _________________________________________________________________________
  3276. #include <stdio.h>
  3277. #include <stdlib.h>
  3278. #include <pmpapi.h>
  3279.  
  3280. INT main(INT argc, CHAR **argv)
  3281. {
  3282.  APIRC    rc;      /* API return code          */
  3283.  PDCFSTATS  pDCFStats;  /* pointer to DCF statistics buffer */
  3284.  
  3285.  /* allocate memory for statistics buffer */
  3286.  pDCFStats=(PDCFSTATS) malloc(sizeof(DCFSTATS));
  3287.  
  3288.  /* retrieve current statistics */
  3289.  rc=DCFGetStats(pDCFStats);
  3290.  if (rc==DCF_NO_ERROR)
  3291.   printf("Drives On-line: %s\n", pDCFStats->drivesOnLine);
  3292.  else
  3293.   printf("PM Patrol DCF not active right now.\n");
  3294.  
  3295.  /* exit program with return code */
  3296.  return rc;
  3297. }
  3298.  
  3299.  
  3300. ΓòÉΓòÉΓòÉ 12.3.2. DCFUserDefined() API ΓòÉΓòÉΓòÉ
  3301.  
  3302. This API provides the ability to post a user defined monitor to PM Patrol for 
  3303. display on the Status Line. It is highly recommended that this API call be 
  3304. issued no frequently that once per second. The maximum length of the buffer is 
  3305. 20 bytes. PM Patrol will force this if the length exceeds this limit. 
  3306.  
  3307. Prototype: APIRC DCFUSerDefined (PCHAR buffer)
  3308.  
  3309. Parms:   PCHAR        ... Address of user defined monitor buffer
  3310.  
  3311. Returns:  DCF_NO_ERROR    ... Successful with no errors
  3312.       DCF_PARM_ERROR   ... Invalid parm specified
  3313.       DCF_INACTIVE_ERROR ... DCF not active
  3314.  
  3315. Example:  Tell PM Patrol to display your name on the Status Line
  3316. _________________________________________________________________________
  3317. #include <stdio.h>
  3318. #include <stdlib.h>
  3319. #include <pmpapi.h>
  3320.  
  3321. INT main(INT argc, CHAR **argv)
  3322. {
  3323.  APIRC  rc;  /* API return code  */
  3324.  
  3325.  /* post monitor buffer to PM Patrol */
  3326.  rc=DCFUserDefined("My name is Dave");
  3327.  if (rc==DCF_NO_ERROR)
  3328.   printf("PMP will show my name on the Status Line\n");
  3329.  else
  3330.   printf("PM Patrol DCF not active right now.\n");
  3331.  
  3332.  /* exit program with return code */
  3333.  return rc;
  3334. }
  3335.  
  3336.  
  3337. ΓòÉΓòÉΓòÉ 12.3.3. DCFVerify() API ΓòÉΓòÉΓòÉ
  3338.  
  3339. This API provides the ability to verify the active state of PM Patrol's Data 
  3340. Collection Facility. 
  3341.  
  3342. Prototype: BOOL DCFVerify (void)
  3343.  
  3344. Parms:   None
  3345.  
  3346. Returns:  TRUE  ... DCF active
  3347.       FALSE ... DCF not active
  3348.  
  3349. Example:  Print status of the DCF
  3350. _________________________________________________________________________
  3351. #include <stdio.h>
  3352. #include <stdlib.h>
  3353. #include <pmpapi.h>
  3354.  
  3355. INT main(INT argc, CHAR **argv)
  3356. {
  3357.  BOOL  activeInd;    /* active indicator */
  3358.  
  3359.  /* verify state */
  3360.  activeInd=DCFVerify();
  3361.  if (activeInd==TRUE)
  3362.   printf("PM Patrol DCF is active\n");
  3363.  else
  3364.   printf("PM Patrol DCF is not active\n");
  3365.  
  3366.  /* exit program with active status */
  3367.  return (INT) activeInd;
  3368. }
  3369.  
  3370.  
  3371. ΓòÉΓòÉΓòÉ 12.3.4. PMPShutDown() API ΓòÉΓòÉΓòÉ
  3372.  
  3373. This API will completely shutdown PM Patrol and the Data Collection Facility. 
  3374.  
  3375. Prototype: BOOL PMPShutDown (void)
  3376.  
  3377. Parms:   None
  3378.  
  3379. Returns:  TRUE  ... Successful with no errors
  3380.       FALSE ... PM Patrol not active
  3381.  
  3382. Example:  Shutdown PM Patrol
  3383. _________________________________________________________________________
  3384. #include <stdio.h>
  3385. #include <stdlib.h>
  3386. #include <pmpapi.h>
  3387.  
  3388. INT main(INT argc, CHAR **argv)
  3389. {
  3390.  BOOL  shutdownInd;
  3391.  
  3392.  /* shutdown and print message */
  3393.  shutdownInd=PMPShutDown();
  3394.  if (shutdownInd==TRUE)
  3395.   printf("PM Patrol and DCF now shutdown.\n");
  3396.  else
  3397.   printf("PM Patrol not active.\n");
  3398.  
  3399.  /* exit program with shutdown status */
  3400.  return (INT) shutdownInd;
  3401. }
  3402.  
  3403.  
  3404. ΓòÉΓòÉΓòÉ 13. Debug Facility ΓòÉΓòÉΓòÉ
  3405.  
  3406. This section discusses the Debug Facility integrated with PM Patrol. 
  3407.  
  3408.  
  3409. ΓòÉΓòÉΓòÉ 13.1. DBug Definition ΓòÉΓòÉΓòÉ
  3410.  
  3411. DBug is a flexible and easy to use real-time debugging for the software 
  3412. engineer/developer that provides debugging capabilities that are impossible for 
  3413. the source-level debugger, easier to use, and often more convenient. 
  3414.  
  3415. The concept of DBug is simple. You place 1 or more "DBUG" statements in your 
  3416. program source code at a strategic point for the purpose of displaying a 
  3417. message, the content of variables or memory, or time stamping a point of entry. 
  3418. Compile and run your program(s). While or after running your program(s), you 
  3419. can view the current results via the "DBug" window or view the DBug log file to 
  3420. browse your DBug results. 
  3421.  
  3422.  
  3423. ΓòÉΓòÉΓòÉ 13.2. Using DBug ΓòÉΓòÉΓòÉ
  3424.  
  3425. When you compile your programs you include the C/C++ header file "dbug.h" and 
  3426. specify the compiler directive "-DDEBUG". You must link your program with the 
  3427. DBug Import Library "DBUGAPI.LIB" to resolve externs. 
  3428.  
  3429. Once you're done testing and want to remove the DBUG statements for 
  3430. "production" use, you may: 
  3431.  
  3432.    1. Recompile your program(s) WITHOUT specifying the compiler directive 
  3433.       "-DDEBUG". The compiler will ignore the DBUG statements. Linking with 
  3434.       "DBUGAPI.LIB" is now unnecessary. 
  3435.  
  3436.    2. Manually remove each DBUG statement. Recompile and link. 
  3437.  
  3438.       Our recommendation is that you leave the "dbug.h" include file in the 
  3439.       program(s) and choose option 1 above. This allows you to, with just a 
  3440.       recompile, have your run-time debugging enabled quickly for testing. 
  3441.  
  3442.  DBUG statements are C/C++ macros which map to a single API. There is a 
  3443.  "generic" DBUG macro for any use, and specific macros for each unique standard 
  3444.  C data type: 
  3445.  
  3446.    1. The DBUG macro is generic and allows you to display the contents from any 
  3447.       data type as well as any chunk of memory. 
  3448.  
  3449.    2. The DBUGM macro displays a simple message of your choice. 
  3450.  
  3451.    3. The DBUGS macro displays the contents of a SHORT data type. 
  3452.  
  3453.    4. The DBUGL macro displays the contents of a LONG data type. 
  3454.  
  3455.    5. The DBUGI macro displays the contents of a INTEGER data type. 
  3456.  
  3457.    6. The DBUGD macro displays the contents of a DOUBLE data type. 
  3458.  
  3459.    7. The DBUGC macro displays the contents of a CHAR data type. 
  3460.  
  3461.    8. The DBUGZ macro displays the contents of a STRING data type. 
  3462.  
  3463.    9. The DBUGP macro displays the contents of a POINTER data type. 
  3464.  
  3465.   10. The DBUGOPEN macro opens a new DBug log file. 
  3466.  
  3467.   11. The DBUGCLOSE macro closes the DBug log file. 
  3468.  
  3469.   12. The DBUGSTOP macro terminates the DBug facility. 
  3470.  
  3471.  Each DBUG statement will cause an IPC message to be build and sent to the 
  3472.  central DBug program. The DBug program will then display the message in his 
  3473.  standard format and log it for later recall - if logging is turned on. 
  3474.  
  3475.  If the DBug program is not presently running to receive these requests, your 
  3476.  DBUG statements will be ignored at run-time. The effort required to complete a 
  3477.  single DBUG within your program(s) is very minimal and insignificant. 
  3478.  
  3479.  The DBug program can be started and stopped at any time - even when programs 
  3480.  are actively DBUGing. If restarted, DBug will continue pulling DBUGs from his 
  3481.  queue and displaying/logging them. 
  3482.  
  3483.  DBug will handle bursts of DBUGs easily as it offers a 256K maximum buffer. 
  3484.  DBug will only allocate/commit enough memory to hold each DBUG request - not 
  3485.  the whole 256K. The 256K buffer is therefore used optimally and requires 
  3486.  little real memory from OS/2. 
  3487.  
  3488.  When monitoring DBug, minimize the window if large amounts of DBUGs are be 
  3489.  displayed. This will significantly improve how fast DBug displays and reduce 
  3490.  the overhead of displaying results. 
  3491.  
  3492.  DBug has two log files and are created in the drive/directory where DBug was 
  3493.  started. If started and controlled from PM Patrol, these log files will reside 
  3494.  in the directory from where PM Patrol was installed and started. 
  3495.  
  3496.    1. The primary and active log "DBUG.LOG" contains current data. 
  3497.  
  3498.    2. The backup log "DBUG.BAK" contains the previous primary data after a new 
  3499.       log file is opened. 
  3500.  
  3501.       When logging is opened, a DBUG message is placed at the beginning of the 
  3502.       DBug log file. 
  3503.  
  3504.       Note:  DBug log files are automatically recycled at midnight so that 
  3505.       under continuous operation, each log will contain a full 24 hours of 
  3506.       information. Therefore, up to 2 days (primary and backup) of DBug 
  3507.       information can be reviewed any time. 
  3508.  
  3509.  If Dbug has nothing to do, absolutely no CPU is used. The small amount of DBug 
  3510.  memory requirements are "swappable" to make room for more active demanding 
  3511.  programs. 
  3512.  
  3513.  DBug is a high performance debugging tool for even the most intense 
  3514.  environments. When the Dbug window is minimized or DBug is running in "Quiet" 
  3515.  mode, DBug can handle several hundred DBUGs per second, even more for highend 
  3516.  Pentium or PowerPC processors. 
  3517.  
  3518.  
  3519. ΓòÉΓòÉΓòÉ 13.3. DBug Programming Files ΓòÉΓòÉΓòÉ
  3520.  
  3521. The DBug software contains 3 files for DBug programming purposes: 
  3522.  
  3523.    1. DBUG.H is a C/C++ header containing the macros for DBug. "Include" this 
  3524.       header file in your C/C++ programs. 
  3525.  
  3526.    2. DBUGAPI.LIB is the Import Library to link with to resolve DBUG APIs. You 
  3527.       must link (LINK386) with this Import Library to resolve external 
  3528.       references and is specified in the LINK386 options. 
  3529.  
  3530.    3. DBUGAPI.DLL is the Dynamic Link Library which holds the actual code of 
  3531.       APIs 
  3532.  
  3533.  For compiling and linking, append the installation path used for PM Patrol to 
  3534.  the following statements in your CONFIG.SYS file: 
  3535.  
  3536.    1. "LIB" statement for the API import library (DBUGAPI.LIB). 
  3537.  
  3538.    2. "INCLUDE" statement for the API C/C++ header (DBUG.H). 
  3539.  
  3540.  Make sure the DBug DLL is available at run time by appending the installation 
  3541.  path used for PM Patrol to the following statements in your CONFIG.SYS file: 
  3542.  
  3543.    1. "LIBPATH" statement for the API DLL (DBUGAPI.DLL). 
  3544.  
  3545.  
  3546. ΓòÉΓòÉΓòÉ 13.4. DBug Macro Set ΓòÉΓòÉΓòÉ
  3547.  
  3548. This section describes in detail the C/C++ macro set for using the Debug 
  3549. Facility. 
  3550.  
  3551.  
  3552. ΓòÉΓòÉΓòÉ 13.4.1. DBUG() Macro ΓòÉΓòÉΓòÉ
  3553.  
  3554. The DBUG macro is generic and allows you to display the contents from any data 
  3555. type as well as any chunk of memory. 
  3556.  
  3557. Prototype: ULONG  DBUG (PVOID address, USHORT size, PCHAR note)
  3558.  
  3559. Parms:   address       ... Address to displayed/dumped
  3560.       size        ... Size of data type or memory to be display
  3561.       note        ... A personal description of your choice
  3562.  
  3563. Returns:  NO_ERROR      ... Successful with no errors, or error code
  3564.  
  3565. Example:
  3566. _________________________________________________________________________
  3567. #include <stdio.h>
  3568. #include <stdlib.h>
  3569. #include <dbug.h>
  3570.  ...
  3571.  
  3572.  CHAR  array[60];
  3573.  
  3574.  DBUG(array, sizeof(array), "my array");
  3575.  
  3576.  
  3577. ΓòÉΓòÉΓòÉ 13.4.2. DBUGM() Macro ΓòÉΓòÉΓòÉ
  3578.  
  3579. The DBUGM macro displays a simple message of your choice. 
  3580.  
  3581. Prototype: ULONG  DBUGM(PCHAR message)
  3582.  
  3583. Parms:   message       ... A personal description of your choice
  3584.  
  3585. Returns:  NO_ERROR      ... Successful with no errors, or error code
  3586.  
  3587. Example:
  3588. _________________________________________________________________________
  3589. #include <stdio.h>
  3590. #include <stdlib.h>
  3591. #include <dbug.h>
  3592.  ...
  3593.  
  3594.  DBUGM("Point 1 of program");
  3595.  
  3596.  
  3597. ΓòÉΓòÉΓòÉ 13.4.3. DBUGS() Macro ΓòÉΓòÉΓòÉ
  3598.  
  3599. The DBUGS macro displays the contents of a SHORT data type. 
  3600.  
  3601. Prototype: ULONG  DBUGS(PSHORT address, PCHAR note)
  3602.  
  3603. Parms:   address       ... Address of short to be displayed
  3604.       note        ... A personal description of your choice
  3605.  
  3606. Returns:  NO_ERROR      ... Successful with no errors, or error code
  3607.  
  3608. Example:
  3609. _________________________________________________________________________
  3610. #include <stdio.h>
  3611. #include <stdlib.h>
  3612. #include <dbug.h>
  3613.  ...
  3614.  
  3615.  USHORT  variable;
  3616.  
  3617.  DBUGS(&variable, "my variable");
  3618.  
  3619.  
  3620. ΓòÉΓòÉΓòÉ 13.4.4. DBUGS() Macro ΓòÉΓòÉΓòÉ
  3621.  
  3622. The DBUGL macro displays the contents of a LONG data type. 
  3623.  
  3624. Prototype: ULONG  DBUGL(PLONG address, PCHAR note)
  3625.  
  3626. Parms:   address       ... Address of long to be displayed
  3627.       note        ... A personal description of your choice
  3628.  
  3629. Returns:  NO_ERROR      ... Successful with no errors, or error code
  3630.  
  3631. Example:
  3632. _________________________________________________________________________
  3633. #include <stdio.h>
  3634. #include <stdlib.h>
  3635. #include <dbug.h>
  3636.  ...
  3637.  
  3638.  LONG  variable;
  3639.  
  3640.  DBUGL(&variable, "my variable");
  3641.  
  3642.  
  3643. ΓòÉΓòÉΓòÉ 13.4.5. DBUGI() Macro ΓòÉΓòÉΓòÉ
  3644.  
  3645. The DBUGI macro displays the contents of a INTEGER data type. 
  3646.  
  3647. Prototype: ULONG  DBUGI(PINT address, PCHAR note)
  3648.  
  3649. Parms:   address       ... Address of integer to be displayed
  3650.       note        ... A personal description of your choice
  3651.  
  3652. Returns:  NO_ERROR      ... Successful with no errors, or error code
  3653.  
  3654. Example:
  3655. _________________________________________________________________________
  3656. #include <stdio.h>
  3657. #include <stdlib.h>
  3658. #include <dbug.h>
  3659.  ...
  3660.  
  3661.  INT   variable;
  3662.  
  3663.  DBUGI(&variable, "my variable");
  3664.  
  3665.  
  3666. ΓòÉΓòÉΓòÉ 13.4.6. DBUGD() Macro ΓòÉΓòÉΓòÉ
  3667.  
  3668. The DBUGD macro displays the contents of a DOUBLE data type. 
  3669.  
  3670. Prototype: ULONG  DBUGD(PDOUBLE address, PCHAR note)
  3671.  
  3672. Parms:   address       ... Address of double to be displayed
  3673.       note        ... A personal description of your choice
  3674.  
  3675. Returns:  NO_ERROR      ... Successful with no errors, or error code
  3676.  
  3677. Example:
  3678. _________________________________________________________________________
  3679. #include <stdio.h>
  3680. #include <stdlib.h>
  3681. #include <dbug.h>
  3682.  ...
  3683.  
  3684.  DOUBLE  variable;
  3685.  
  3686.  DBUGD(&variable, "my variable");
  3687.  
  3688.  
  3689. ΓòÉΓòÉΓòÉ 13.4.7. DBUGC() Macro ΓòÉΓòÉΓòÉ
  3690.  
  3691. The DBUGC macro displays the contents of a CHAR data type. 
  3692.  
  3693. Prototype: ULONG  DBUGC(PINT address, PCHAR note)
  3694.  
  3695. Parms:   address       ... Address of char to be displayed
  3696.       note        ... A personal description of your choice
  3697.  
  3698. Returns:  NO_ERROR      ... Successful with no errors, or error code
  3699.  
  3700. Example:
  3701. _________________________________________________________________________
  3702. #include <stdio.h>
  3703. #include <stdlib.h>
  3704. #include <dbug.h>
  3705.  ...
  3706.  
  3707.  CHAR   variable;
  3708.  
  3709.  DBUGC(&variable, "my variable");
  3710.  
  3711.  
  3712. ΓòÉΓòÉΓòÉ 13.4.8. DBUGP() Macro ΓòÉΓòÉΓòÉ
  3713.  
  3714. The DBUGP macro displays the contents of a POINTER data type. 
  3715.  
  3716. Prototype: ULONG  DBUGP(PVOID address, PCHAR note)
  3717.  
  3718. Parms:   address       ... Address of pointer to be displayed
  3719.       note        ... A personal description of your choice
  3720.  
  3721. Returns:  NO_ERROR      ... Successful with no errors, or error code
  3722.  
  3723. Example:
  3724. _________________________________________________________________________
  3725. #include <stdio.h>
  3726. #include <stdlib.h>
  3727. #include <dbug.h>
  3728.  ...
  3729.  
  3730.  PVOID  variable;
  3731.  
  3732.  /* display pointer value */
  3733.  DBUGP(&variable, "my variable");
  3734.  
  3735.  /* display memory contents of size 2048 bytes */
  3736.  DBUG(variable, 2048, "my variable memory");
  3737.  
  3738.  
  3739. ΓòÉΓòÉΓòÉ 13.4.9. DBUGZ() Macro ΓòÉΓòÉΓòÉ
  3740.  
  3741. The DBUGZ macro displays the contents of a STRING data type. 
  3742.  
  3743. Prototype: ULONG  DBUGZ(PVOID address, PCHAR note)
  3744.  
  3745. Parms:   address       ... Address of string to be displayed
  3746.       note        ... A personal description of your choice
  3747.  
  3748. Returns:  NO_ERROR      ... Successful with no errors, or error code
  3749.  
  3750. Example:
  3751. _________________________________________________________________________
  3752. #include <stdio.h>
  3753. #include <stdlib.h>
  3754. #include <dbug.h>
  3755.  ...
  3756.  
  3757.  CHAR  variable[32]="Hello world";
  3758.  
  3759.  DBUGZ(variable, "my variable");
  3760.  
  3761.  
  3762. ΓòÉΓòÉΓòÉ 13.4.10. DBUGOPEN() Macro ΓòÉΓòÉΓòÉ
  3763.  
  3764. The DBUGOPEN macro opens a new DBug log file. 
  3765.  
  3766. Prototype: ULONG  DBUGOPEN(VOID)
  3767.  
  3768. Parms:   None
  3769.  
  3770. Returns:  NO_ERROR      ... Successful with no errors, or error code
  3771.  
  3772. Example:
  3773. _________________________________________________________________________
  3774. #include <stdio.h>
  3775. #include <stdlib.h>
  3776. #include <dbug.h>
  3777.  ...
  3778.  
  3779.  DBUGOPEN();
  3780.  
  3781.  
  3782. ΓòÉΓòÉΓòÉ 13.4.11. DBUGCLOSE() Macro ΓòÉΓòÉΓòÉ
  3783.  
  3784. The DBUGCLOSE macro closes the DBug log file. 
  3785.  
  3786. Prototype: ULONG  DBUGCLOSE(VOID)
  3787.  
  3788. Parms:   None
  3789.  
  3790. Returns:  NO_ERROR      ... Successful with no errors, or error code
  3791.  
  3792. Example:
  3793. _________________________________________________________________________
  3794. #include <stdio.h>
  3795. #include <stdlib.h>
  3796. #include <dbug.h>
  3797.  ...
  3798.  
  3799.  DBUGCLOSE();
  3800.  
  3801.  
  3802. ΓòÉΓòÉΓòÉ 13.4.12. DBUGSTOP() Macro ΓòÉΓòÉΓòÉ
  3803.  
  3804. The DBUGSTOP macro terminates the DBug Facility. 
  3805.  
  3806. Prototype: ULONG  DBUGSTOP(VOID)
  3807.  
  3808. Parms:   None
  3809.  
  3810. Returns:  NO_ERROR      ... Successful with no errors, or error code
  3811.  
  3812. Example:
  3813. _________________________________________________________________________
  3814. #include <stdio.h>
  3815. #include <stdlib.h>
  3816. #include <dbug.h>
  3817.  ...
  3818.  
  3819.  DBUGSTOP();
  3820.  
  3821.  
  3822. ΓòÉΓòÉΓòÉ 13.5. DBug Output ΓòÉΓòÉΓòÉ
  3823.  
  3824. The following is a sample output from the DBug Facility. 
  3825.  
  3826.  
  3827. Sample output
  3828. ------------------------------------------------------------------------
  3829. From: PID 00a3  At 21:06:42  DBUG.CPP (line 474)
  3830. Note: DBug log opened.
  3831. Type: INFO, 0 bytes  (0 qCnt)
  3832. ------------------------------------------------------------------------
  3833. From: PID 00a8  At 21:07:10  TEST.C (line 22)
  3834. Note: sample DBUGs
  3835. Type: INFO, 0 bytes  (3 qCnt)
  3836. ------------------------------------------------------------------------
  3837. From: PID 00a8  At 21:07:10  TEST.C (line 23)
  3838. Note: my return code (little endian)
  3839. Type: LONG, 4 bytes  (2 qCnt)
  3840. 0000: 00 00 00 00                   |....       |
  3841. ------------------------------------------------------------------------
  3842. From: PID 00a8  At 21:07:10  TEST.C (line 24)
  3843. Note: a chunk of memory
  3844. Type: VOID, 120 bytes  (1 qCnt)
  3845. 0000: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
  3846. 0010: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
  3847. 0020: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
  3848. 0030: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
  3849. 0040: 00 00 00 00 00 00 00 00 00 00 43 44 45 46 00 00 |..........CDEF..|
  3850. 0050: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
  3851. 0060: 00 00 00 00 00 43 00 00 00 00 00 00 00 00 60 c6 |.....C........`.|
  3852. 0070: a2 41 00 00 00 00 10 59             |.A.....Y     |
  3853. ------------------------------------------------------------------------
  3854. From: PID 00a8  At 21:07:10  TEST.C (line 25)
  3855. Note: my double value
  3856. Type: DOUBLE, 8 bytes  (0 qCnt)
  3857. 0000: 33 33 33 33 b3 00 ab 40             |3333...@     |
  3858. ------------------------------------------------------------------------
  3859.  
  3860. Using the last DBUG for example, the DBug output contains four (4) main 
  3861. sections: 
  3862.  
  3863.    1. The From section identifies who (what program) the DBUG was sent from: 
  3864.  
  3865.         a. The Process ID (as hex) 
  3866.  
  3867.         b. The time the DBug was issued (not received and displayed/logged). 
  3868.  
  3869.         c. The program source code name and line number of the DBUG statement 
  3870.            within the program source. 
  3871.  
  3872.    2. The Note section is where your personal note/description from the DBUG 
  3873.       statement is displayed. 
  3874.  
  3875.    3. The Type section identifies the data type displayed, the number of bytes 
  3876.       for the data, and how many DBUG statements remain in the DBug queue to be 
  3877.       displayed (qCnt): 
  3878.  
  3879.         a. These include all standard data types such as DOUBLE, CHAR, PCHAR, 
  3880.            INT, and so on. 
  3881.  
  3882.         b. VOID is displayed when a "memory chunk" is displayed. 
  3883.  
  3884.         c. INFO is displayed when just a DBUGM (Message) statement is issued. 
  3885.  
  3886.    4. The last section displays the contents (in hex and ASCII representation) 
  3887.       of the data type. The left most column of this section is the offset 
  3888.       starting at zero. 
  3889.  
  3890.  
  3891. ΓòÉΓòÉΓòÉ 14. Performance and Tuning ΓòÉΓòÉΓòÉ
  3892.  
  3893. This document makes an assumption that the reader is familiar with OS/2 Warp. 
  3894. It presents general and specific tuning information for a computer that will 
  3895. have or has had OS/2 Warp installed. 
  3896.  
  3897.  
  3898. ΓòÉΓòÉΓòÉ 14.1. General Setup Considerations ΓòÉΓòÉΓòÉ
  3899.  
  3900. There are some basic considerations that need to be made about the computer 
  3901. that you will install Warp on. It breaks down into 3 elements: processor, 
  3902. memory and disk. These three major elements, interestingly enough, have 
  3903. remained the three major elements since the computer was first developed. 
  3904.  
  3905. In most cases the processor that you have in your system has a minimal impact 
  3906. on performance compared to the amount of memory and the speed of the disk. The 
  3907. only real considerations to make with respect to processor are its age. 
  3908.  
  3909. You want to avoid 386 and 386SX processors. You want processors that can be 
  3910. upgraded and those that support instruction caching sometimes referred to as 
  3911. Level 1 or Level 2 cache. 
  3912.  
  3913. There really is no optimum level instruction cache size. More instruction cache 
  3914. is usually better than less. The only real determinant should be costs. 
  3915.  
  3916. Memory, also called RAM, is a different story. Without enough memory your 
  3917. system will run slowly.  If you cannot afford to buy memory for your system, 
  3918. then you must manage the things you install. 
  3919.  
  3920. You only want to install fonts, device drivers, objects and applications that 
  3921. you will actually use. You may think that just because you have not started an 
  3922. installed application, it is not using any memory. This is not always the case. 
  3923. Many newer OS/2 applications will register classes and objects with the 
  3924. WorkPlace Shell or add items into path statements, set statements and the like. 
  3925. Many of these things will cause memory to be used even when the program is not 
  3926. running. 
  3927.  
  3928. In some cases, the program will require special device drivers be installed 
  3929. which also use up memory. 
  3930.  
  3931. Other things that affect memory usage are disk cache, CDROM cache, multimedia 
  3932. support and file buffers. The important factor to consider for the disk cache, 
  3933. is that it is designed for general use. 
  3934.  
  3935. Since most systems are not general use, the disk cache should be tuned to the 
  3936. specific system environment to optimize memory usage. We will discuss the disk 
  3937. cache considerations in more detail when we look at the file system options. 
  3938.  
  3939. In addition to RAM and the CPU, one of the most important pieces of hardware on 
  3940. your system is the hard disk. It will affect the performance of starting your 
  3941. system, loading applications, the speed of applications, and the general 
  3942. performance of your system. 
  3943.  
  3944. It is best to have a disk subsystem which uses a bus-mastering type of adapter. 
  3945. Many SCSI devices and some of the PCI devices have this capability. These types 
  3946. of devices allow for multiple requests to be sent to the disk device to be 
  3947. processed rather than just one command or function at a time. They also allow 
  3948. what is called scatter/gather capabilities. 
  3949.  
  3950. Without bus mastering, data that is transferred between the computer's memory 
  3951. and the disk must be in contiguous memory, one byte after the other. With bus 
  3952. mastering, the data does not have to be contiguous and does not have to be on a 
  3953. 64K byte boundary. Bus-mastering relieves the system of a lot of overhead and 
  3954. therefore performs faster in actual usage, although  you will see little or no 
  3955. difference when running benchmarks. 
  3956.  
  3957. When the memory in your system is overcommitted, that is, the operating system 
  3958. and the applications you are running need more memory than is physically 
  3959. available in your computer, Warp will page, or swap, code and data that has not 
  3960. been accessed for a while to the disk in order to make room for the needed code 
  3961. and data. In this instance, the disk is the single most important factor in 
  3962. your system with respect to performance. 
  3963.  
  3964. Other considerations with regard to the disk is whether or not it has its own 
  3965. caching. If it does and your applications perform mainly sequential disk 
  3966. access, then you can reduce the size of your software disk cache. However, this 
  3967. is subject to the amount of cache installed on the controller. Usually, 256 KB 
  3968. cache is a minimum necessary setting for disk cache. 
  3969.  
  3970. Hardware disk cache will have little or no effect when the programs perform 
  3971. random disk operations. The hardware cache will improve the performance of 
  3972. starting the Warp operating system and the applications. 
  3973.  
  3974. Run a normal load of programs on your machine and then check 
  3975. C:\OS2\SYSTEM\SWAPPER.DAT. Divide its size by 1024 and use that to determine 
  3976. how much space to pre-allocate for your swappath. For example, if your system 
  3977. normally has a 14 MB SWAPPER.DAT, change your swappath line in CONFIG.SYS to 
  3978. like "SWAPPATH=C:\OS2\SYSTEM 2048 14680". 
  3979.  
  3980. If you're running a video driver at a very high color and resolution (65K or 
  3981. 16.6 Million colors) that can severely impact system performance. Try running 
  3982. at 256 colors and see if it works any better. 
  3983.  
  3984. Don't run more than one CPU resource monitor at a time. 
  3985.  
  3986. If you're running a 4 MB system, expect a lot of swapping. More memory will 
  3987. always improve performance. 
  3988.  
  3989. Printing can be CPU intensive. Using the OS/2 spooler and adjusting the spooler 
  3990. priority, you can fine tune the printing overhead so that it has the least 
  3991. negative impact on system performance while keeping the printer(s) busy. A 
  3992. priority setting above 50% may be too aggressive for some slower low-end 
  3993. systems. 
  3994.  
  3995. Keep in mind, the OS/2 spooler requires memory as well (about 512 KB) and will 
  3996. reduce available memory accordingly. If your system has 8 MB of memory and you 
  3997. print infrequently, consider turning off the OS/2 spooler. 
  3998.  
  3999.  
  4000. ΓòÉΓòÉΓòÉ 14.2. File System Performance ΓòÉΓòÉΓòÉ
  4001.  
  4002. OS/2 supports two file systems for use on your hard disks: FAT and HPFS. No 
  4003. matter which file system is used, there are some basic considerations. 
  4004.  
  4005. You need to install the file system depending on which operating systems will 
  4006. access the data. If you plan to boot a DOS or Windows system natively, then any 
  4007. data that will be accessed must exist on a FAT disk partition. 
  4008.  
  4009. If you will only be running DOS and Windows applications in a Warp VDM ( 
  4010. Virtual DOS Machine ), then the file system can be HPFS or FAT. 
  4011.  
  4012. Also, when accessing a file on a server, and the server file system is HPFS, 
  4013. you do not need to install HPFS on your local client machine. HPFS only needs 
  4014. to be installed on a computer when a partition on a local hard disk is 
  4015. formatted as HPFS. 
  4016.  
  4017. The amount of memory you have in your machine should affect the decision about 
  4018. which file system to use. When HPFS is installed, it requires a minimum 200 to 
  4019. 250 KB of working set, plus the space allocated for its cache. This is a 
  4020. significant amount of memory and is the main reason why FAT is used when Warp 
  4021. is installed on a system that contains 4 MB of physical memory.. 
  4022.  
  4023. Regardless of which file system you select, you need to plan for future 
  4024. requirements: How will maintenance and fixes be applied? Where will 
  4025. applications be installed? Where will data reside? etc. 
  4026.  
  4027. It is recommended that when you set up your hard disk, you create a minimum of 
  4028. 3 partitions. One will be for the operating system(s), one for your 
  4029. applications and static data files, and another for dynamic data files and 
  4030. temporary files.  Decide whether you want to use Boot Manager or Dual Boot. 
  4031.  
  4032. If you select Dual Boot, then OS/2 must be installed with FAT file system. 
  4033.  
  4034. For temporary files, it is better to have them preallocated and reuse them 
  4035. rather than create and destroy them every time. Extending a file can be almost 
  4036. twice as slow as just writing to a file. Also, if you reuse files, it will 
  4037. definitely reduce the fragmentation in your disk directories. 
  4038.  
  4039.  
  4040. ΓòÉΓòÉΓòÉ 14.2.1. FAT File System ΓòÉΓòÉΓòÉ
  4041.  
  4042. FAT is best suited for disk partitions that are 80 MB or less in size or that 
  4043. have a limited number of files installed. Usually, 256 files is a good target, 
  4044. with up to 500 acceptable. 
  4045.  
  4046. The number of files become important because FAT files are allocated based on a 
  4047. sector size. The sector size is determined by the size of the disk partition 
  4048. and can be 2K, 4K, 8K or higher. 
  4049.  
  4050. Since most file sizes are not an exact multiple of the sector size, disk space 
  4051. gets wasted. For example, installing DOS, Windows and Warp on a 100 MB 
  4052. partition resulted in 2.2 MB of disk space being wasted. 
  4053.  
  4054. Also, when Warp is allocating space for a file in a FAT partition, it will look 
  4055. for the largest available free space area to write the data or create the file. 
  4056.  
  4057. If lots of files were created and deleted, or expanded, these free space areas 
  4058. become smaller and smaller and are spread out over the disk. This is referred 
  4059. to as fragmentation. 
  4060.  
  4061. When a file is stored in many areas on the disk, it takes longer to read that 
  4062. data simply because the disk head has to do more seeking. 
  4063.  
  4064. The FAT file system disk cache is defined by the DISKCACHE= statement in the 
  4065. CONFIG.SYS file. New in Warp is the "D" designation for the size of the disk 
  4066. cache. Warp will allocate space for the disk cache based on the amount of 
  4067. physical memory that is installed in the system. If more than 8 MB is 
  4068. installed, 10% of the physical memory will be used for the disk cache up to a 
  4069. maximum of 14.4 MB. 
  4070.  
  4071. Based on what applications and support you install in your system, this may be 
  4072. too high and cause you to overcommit your memory. If there is not a lot of disk 
  4073. work done on your system, or you are using DB/2 or HPFS, then you should reduce 
  4074. the size of your disk cache. A number between 128 and 256K is sufficient for 
  4075. most systems. On a 4 MB system, the disk cache is set to 48K. 
  4076.  
  4077. In conjunction with the cache size, you should also set the cache threshold. 
  4078. This determines which records being written or read will be placed in the 
  4079. cache. The default is 1 sector. 
  4080.  
  4081. If your cache size is 128K or larger, increase this value to at least 16 and 
  4082. preferably 32. More detail about the DISKCACHE= statement will be given in the 
  4083. section on CONFIG.SYS. 
  4084.  
  4085. Some additional items for improving performance using FAT are: 
  4086.  
  4087.    1. Group files by usage, the most used files first, and least used files 
  4088.       last. 
  4089.  
  4090.    2. Group files based on whether they are static or dynamic. All dynamic and 
  4091.       temporary files should be placed in a separate partition. 
  4092.  
  4093.    3. If possible, place all temporary files in a single directory. 
  4094.  
  4095.    4. If possible, permanently create temporary files and reuse them. 
  4096.  
  4097.    5. Only create directories that are really needed. The fewer number of 
  4098.       directories you have to search, the faster your search will be. 
  4099.  
  4100.    6. Defragment your partitions after installing new applications, deleting 
  4101.       files or applying maintenance and fixes. Any DOS defragmentation program 
  4102.       that is aware of hidden files can be used. 
  4103.  
  4104.  
  4105. ΓòÉΓòÉΓòÉ 14.2.2. HPFS File System ΓòÉΓòÉΓòÉ
  4106.  
  4107. HPFS does away with some of the concerns that are prevalent with FAT. Files are 
  4108. allocated with more granularity than FAT, and "free space" is allocated in 
  4109. anticipation of file size growth. Therefore fragmentation is greatly reduced 
  4110. and less disk space is used on a per file basis. It is not uncommon to regain 
  4111. about 10 MB out of 100 MB as compared to using FAT. 
  4112.  
  4113. Also, HPFS is especially efficient when handling large partition sizes, > 100 
  4114. MB, and large numbers of files, > 500. Try to limit the number of individual 
  4115. files in a directory to not exceed 5000. 
  4116.  
  4117. The HPFS file system shipped with the OS/2 product has a cache limit of 2 MB. 
  4118. There is no such limit when using the HPFS386 file system that comes with the 
  4119. LAN Server products. 
  4120.  
  4121. HPFS cache parameters are specified on the IFS statement in the CONFIG.SYS 
  4122. file. As with FAT, you should specify the caching threshold value. Use the 
  4123. /CRECL parameter to do this. Here you specify a number in terms of K bytes. 32 
  4124. KB is usually a good starting value. 
  4125.  
  4126. As mentioned earlier, a minor drawback to HPFS is the amount of extra memory 
  4127. that it requires to achieve its performance. Even if there is no HPFS partition 
  4128. on your system, it will cost between 128 and 130K of working set memory, as 
  4129. well as the space for the HPFS cache. Overall, it's a small price to pay for a 
  4130. high performance file system. 
  4131.  
  4132. If you are installing Warp on an existing DOS and or Windows system, you do not 
  4133. want to install HPFS. When your system is up and running, you can check the 
  4134. working set of your system. 
  4135.  
  4136. If there is enough free memory and you wish to create a HPFS partition, then 
  4137. you can use selective reinstall to install the HPFS support. Remember that any 
  4138. data stored in the HPFS partition can not be accessed if you boot your machine 
  4139. under DOS. 
  4140.  
  4141. Another advantage of HPFS over FAT is in the area of extended attributes (EAs). 
  4142. EAs are data attached to a file and used to provide information about the file 
  4143. it is attached to. 
  4144.  
  4145. The name of an object that appears in an OS/2 folder or on the OS/2 Desktop is 
  4146. stored in EAs. In HPFS, EAs are part of the HPFS file control block which is 
  4147. read when the file is open. 
  4148.  
  4149. In FAT, EAs are stored in a separate file and require additional I/O to access 
  4150. them, and are therefore slower. 
  4151.  
  4152. Overall, HPFS comes highly recommended. It has matured since conception to 
  4153. bring very safe high performance to your system and successfully replaces the 
  4154. age old FAT design. 
  4155.  
  4156.  
  4157. ΓòÉΓòÉΓòÉ 14.2.3. Gospel of Disk Cache ΓòÉΓòÉΓòÉ
  4158.  
  4159. The following "Gospel of Caching According to Max" is provided by Proportional 
  4160. Software based upon a great deal of OS/2 system "tweaking" done by the DCF/2 
  4161. development team. 
  4162.  
  4163. You can get better performance from your system by using the memory you have 
  4164. available to you in the most efficient and effective way. 
  4165.  
  4166. From the table below, select the case that best describes the file system or 
  4167. systems you use and memory available on your system. 
  4168.  
  4169.  
  4170. CASE 1: You use only HPFS or only FAT but not both
  4171. ----------------------------------------------------------------
  4172.                  HPFS only     FAT only
  4173. If system memory is at least   Set CACHE to   Set DISKCACHE to
  4174.         16 MB        2048      2048
  4175.         12 MB        1536      1536
  4176.          8 MB        1024      1024
  4177.  
  4178. FAT DISKCACHE parms:
  4179.      LAZY WRITES        N/A       LW
  4180.  
  4181. HPFS CACHE parms:
  4182.      LAZY WRITES        /LAZY:ON    N/A
  4183.         MAXAGE        >7,500     N/A
  4184.        DISKIDLE        60,000     N/A
  4185.       BUFFERIDLE        60,000     N/A
  4186.  
  4187. If your system is HPFS only REM out the DISKCACHE statement in
  4188. your CONFIG.SYS file. If your system is FAT only, REM out the
  4189. IFS=HPFS.IFS statement.
  4190.  
  4191.  
  4192. CASE 2: You use both HPFS and FAT (active and passive)
  4193. ----------------------------------------------------------------
  4194.                 HPFS active    FAT passive
  4195. If system memory is at least   Set CACHE to   Set DISKCACHE to
  4196.         16 MB       2048       512 -1024
  4197.         12 MB       1536       256 - 512
  4198.          8 MB       1024       128 - 256
  4199.  
  4200. FAT DISKCACHE parms:
  4201.      LAZY WRITES       N/A        LW
  4202.  
  4203. HPFS CACHE parms:
  4204.      LAZY WRITES       /LAZY:ON     N/A
  4205.         MAXAGE       >7,500      N/A
  4206.        DISKIDLE       60,000      N/A
  4207.       BUFFERIDLE       60,000      N/A
  4208.  
  4209.  
  4210. CASE 3: You use both HPFS and FAT (passive and active)
  4211. ----------------------------------------------------------------
  4212.                  HPFS passive    FAT active
  4213. If system memory is at least   Set CACHE to  Set DISKCACHE to
  4214.         16 MB        1024       2048
  4215.         12 MB        768       1536
  4216.          8 MB        512       1024
  4217.  
  4218. FAT DISKCACHE parms:
  4219.      LAZY WRITES        N/A       LW
  4220.  
  4221. HPFS CACHE parms:
  4222.      LAZY WRITES        /LAZY:ON     N/A
  4223.         MAXAGE        >7,500      N/A
  4224.        DISKIDLE        60,000      N/A
  4225.       BUFFERIDLE        60,000      N/A
  4226.  
  4227. A few more notes: 
  4228.  
  4229.    1. For purposes of the table above, "active" and "passive" are descriptors 
  4230.       for the way a partition is used.  If it is seldom used, it is "passive." 
  4231.       If a lot of disk intensive I/O occurs on the partition, it is "active." 
  4232.  
  4233.    2. The HPFS actually requires 128 to 130K of committed memory as opposed to 
  4234.       the widely perceived 512K.  As cache size increases to 2 MB, this 
  4235.       requirement increases as well, up to a maximum of about 240K. 
  4236.  
  4237.    3. The optimal cache size seems to be 1536. 
  4238.  
  4239.    4. When comparing the relative merits of the HPFS versus FAT, consider the 
  4240.       following:  On partitions of identical size, the HPFS gives you about 15% 
  4241.       more space and performance is about 28% better! 
  4242.  
  4243.    5. Instead of continuing to increase performance, a DISKCACHE value in 
  4244.       excess of 2048 seems to degrade it. 
  4245.  
  4246.  
  4247. ΓòÉΓòÉΓòÉ 14.3. System Tuning ΓòÉΓòÉΓòÉ
  4248.  
  4249. Before covering OS/2 system tuning let's review the concept of threads and how 
  4250. they are used in OS/2. Every program that you run on an OS/2 system will 
  4251. process as one or more threads. 
  4252.  
  4253. A thread is the basic unit of work within OS/2. Each thread requires a minimum 
  4254. of 4K stack space. Stack space is used to save parameters and addresses when 
  4255. different functions are called from a thread. 
  4256.  
  4257. These functions might be reading from or writing to a disk, using semaphores, 
  4258. and other system and program functions. It is important to ensure that you 
  4259. allocate enough stack space for the thread to run. 
  4260.  
  4261. You can use programs such as EXEHDR.EXE to see and modify the stack space 
  4262. allocated for your program. All programs, DOS, Windows and OS/2 use a minimum 
  4263. of one thread. Each thread executes at a given priority. 
  4264.  
  4265. The priority is used by OS/2 to determine which thread gets to run when more 
  4266. than one thread is ready to run. The highest-priority thread ready to run will 
  4267. be the one dispatched by the system and given time to run. It is given what is 
  4268. referred to as a "time slice". This is a set period of time during which a 
  4269. thread is allowed to run. After this time has expired, the highest-priority 
  4270. thread that is ready to run will be given a time slice in which to run. 
  4271.  
  4272. If the same thread still wanted to run, and it was the highest-priority thread, 
  4273. it would receive another time slice to run in. 
  4274.  
  4275. OS/2 programs usually run at normal priority, which is 200. Under program 
  4276. control, the program can change its priority to be server class, 300, or 
  4277. time-critical, 800. 
  4278.  
  4279. It can also change its subclass priority between 0 and 31. A thread that has 
  4280. priority 200 and a subclass of 15 has a higher effective priority than a thread 
  4281. with priority 200 and subclass 0, and therefore runs first. 
  4282.  
  4283. All DOS and Windows applications always run at priority 200. In OS/2 Warp, IBM 
  4284. has added the capability to define the subclass priority for these 
  4285. applications. Care should be taken when using this subclass priority since it 
  4286. may cause other programs to run slower or generate errors in the case of 
  4287. communication applications that do not get the subclass boost. 
  4288.  
  4289. Warp will give OS/2 threads a priority boost for specific types of functions 
  4290. and states. Following are the priority boosts that are received, in descending 
  4291. order: 
  4292.  
  4293.    1. Disk I/O: When an interrupt is received stating that a disk operation has 
  4294.       completed, the thread that processes this state will receive a priority 
  4295.       boost for one time slice to process this interrupt. 
  4296.  
  4297.    2. Starved: In the CONFIG.SYS file, there is a statement MAXWAIT=3. The 
  4298.       number 3 specifies how long a thread can be in the ready-to-run state 
  4299.       without having received time to run. If a thread had been waiting to run 
  4300.       for 3 seconds, its priority would be raised to the Starved priority 
  4301.       level. 
  4302.  
  4303.    3. Keyboard: This is a boost in priority given to a thread when it is 
  4304.       interacting with the system keyboard. Basically, it is for accepting 
  4305.       typed in data. 
  4306.  
  4307.    4. Foreground:  This is a priority boost given to all threads of the program 
  4308.       that owns the active window on the OS/2 screen, the one that is 
  4309.       highlighted. 
  4310.  
  4311.    5. Windowed:  Threads which have windows showing on the display will also 
  4312.       receive a priority boost when drawing or writing into that window. 
  4313.  
  4314.  When a thread is in more than one of these states, the system will combine the 
  4315.  states and give a priority based on the combined states. 
  4316.  
  4317.  For DOS and Windows applications, these priority states do not apply. Instead, 
  4318.  a second thread is used to handle the interrupt, and that thread is given an 
  4319.  interrupt boost.. 
  4320.  
  4321.  Idle class is the other priority class that exists in OS/2. This priority 
  4322.  level runs only when nothing else in the system wants to run. Threads in this 
  4323.  class will not receive any of the state boosts. 
  4324.  
  4325.  If DOS and/or Windows applications are being run, then you should avoid the 
  4326.  use of threads that run in idle class because they will never run but will 
  4327.  take up system space. 
  4328.  
  4329.  
  4330. ΓòÉΓòÉΓòÉ 14.3.1. CONFIG.SYS Settings ΓòÉΓòÉΓòÉ
  4331.  
  4332. These are specific things in the CONFIG.SYS file that you can change to affect 
  4333. the performance of your system. 
  4334.  
  4335. First, we cover those statements that you should NOT modify unless you have a 
  4336. system which has a special use, such as a process control system. An example 
  4337. would be a system used to monitor a manufacturing machine or chemical process, 
  4338. where timing and response time are critical factors. 
  4339.  
  4340.    1. PRIORITY_DISK_IO=YES  This allows the application that has screen focus 
  4341.       to receive a priority boost when it's disk operation is complete. This 
  4342.       applies to the first time slice given to the thread after the disk 
  4343.       operation is complete. After the time slice, the state is reset for the 
  4344.       thread and the priority boost removed. 
  4345.  
  4346.    2. MEMMAN=SWAP,PROTECT  Allows OS/2 to swap code and data to disk when more 
  4347.       memory is needed than is physically available in your computer. If you do 
  4348.       not specify SWAP, you will need enough physical memory in you computer to 
  4349.       hold all the code and data that OS/2 and your application needs to run. 
  4350.       You do not pay a penalty by specifying SWAP and then not needing to use 
  4351.       it. The PROTECT parameter allows Dynamic Link Libraries (DLL) to allocate 
  4352.       protected memory. Protected memory is memory that is protected from being 
  4353.       accessed by unauthorized programs. You can also specify a COMMIT 
  4354.       parameter. This forces the system to ensure that enough physical memory 
  4355.       or swap file disk space is available for a memory object when it is 
  4356.       created. Normally, OS/2 commits physical and disk memory when the page of 
  4357.       memory is actually touched. Specifying this parameter can significantly 
  4358.       increase the amount space your swap file uses on disk. 
  4359.  
  4360.    3. TIMESLICE=X,Y  This statement is not found in the CONFIG.SYS file after 
  4361.       you install OS/2 but is sometimes recommended to be added. This was okay 
  4362.       to add for OS/2 2.0, 2.1 or 2.11 systems, but not for OS/2 Warp. In Warp, 
  4363.       it dynamically modify a thread's time slice based on actions that have 
  4364.       occurred. For instance, if a thread took a page fault during it's time 
  4365.       slice, an extra time slice is granted to process what is contained in the 
  4366.       faulted page. An applications doing disk I/O is given an extra time 
  4367.       slices if the data they are reading is in the disk cache. When the 
  4368.       TIMESLICE parameter is used, none of these actions will occur. Instead, 
  4369.       each thread will be given the minimum time slice of X, and its time slice 
  4370.       will not be allowed to go beyond value Y. 
  4371.  
  4372.    4. PRIORITY=DYNAMIC  If DYNAMIC is not specified, then each thread will 
  4373.       receive a minimum and maximum time slice of 32 milliseconds with no 
  4374.       additional time slices as described in the TIMESLICE= statement 
  4375.       description above. 
  4376.  
  4377.    5. DEVICE=C:\OS2\BOOT\VDISK.SYS  This statement allocates a virtual disk in 
  4378.       your computers physical memory. It is used for quick access to often-used 
  4379.       files and programs. This was good for a DOS environment where the extra 
  4380.       memory in your computer was not used by DOS, but OS/2 uses this memory, 
  4381.       and your performance can be adversely affected if a VDISK is used. It is 
  4382.       much better to increase the size of the disk cache if you have unused 
  4383.       physical memory than it is to use VDISK. 
  4384.  
  4385.  Now let us look at statements in CONFIG.SYS which you should change to help 
  4386.  improve the performance of your Warp system. 
  4387.  
  4388.    1. LIBPATH=  This tells the system where to find DLL files and disk device 
  4389.       drivers that Warp and applications use. Place the directory names in 
  4390.       order of usage. The most accessed directory should be first, the least 
  4391.       used last. If possible, place the DLL used by a program in the same 
  4392.       directory as the working directory when the program is running. Then, you 
  4393.       do not need to add that directory to the LIBPATH statement. Also, place 
  4394.       all directories that are on a network at the end of your LIBPATH 
  4395.       statement in case the network goes down and they cannot be accessed. See 
  4396.       the discussion of dynamic LIBPATH support later on in this paper for 
  4397.       additional considerations when accessing network drives. 
  4398.  
  4399.    2. PATH=  is used to specify where Warp searches for program executable 
  4400.       files, EXE, COM, CMD, BAT, etc.  Place the directories in order of most 
  4401.       used first, least used last. If programs will be executed from an object 
  4402.       on your desktop or folder, specify the path there and not in the PATH 
  4403.       statement. Only place directories in the PATH statement for executables 
  4404.       that will be called from other programs or commands. 
  4405.  
  4406.    3. DPATH=  The same principle applies to DPATH as PATH and LIBPATH.  For 
  4407.       resources that applications use, place the most used directories first 
  4408.       and the least used last. 
  4409.  
  4410.    4. BUFFERS=90  Buffers are physical memory used to support partial sector 
  4411.       reads and writes in a FAT file system environment. They are also used to 
  4412.       cache FAT directory entries and for swap file disk I/O. Because BUFFERS 
  4413.       are used to cache FAT directory entries, this number should not be 
  4414.       reduced below 60, unless you are not using the FAT file system on your 
  4415.       disks. Reducing this number will increase the number of disk reads that 
  4416.       are done to the FAT directory entries and therefore slow down your 
  4417.       system. 
  4418.  
  4419.    5. MAXWAIT=3  This specifies the maximum amount of time that a thread will 
  4420.       be in a ready-to-run state without receiving a time slice to run in. 
  4421.       After this time expires, the thread will be given a boost in priority so 
  4422.       it gets a chance to run. Reducing this value to 2 may help in systems 
  4423.       where there are a lot of programs running, or multiple separate 
  4424.       DOS/Windows programs running. Reducing it to 1 on systems where there is 
  4425.       swap activity taking place can slow down the system. 
  4426.  
  4427.    6. DISKCACHE=D,LW,T,AC  This is used to specify the amount of physical 
  4428.       memory set aside to cache data that is being read from or written to 
  4429.       disk. D represents a dynamic disk cache value that varies in size from 
  4430.       48K to 14400K, based on the amount of physical memory you have in your 
  4431.       system. If you have more than 8 MB in your system, D will be 10% of your 
  4432.       system's physical memory. The D should be changed to the actual amount of 
  4433.       disk cache space you require. If you have a system where your programs do 
  4434.       not do much disk I/O or where your memory is being used up by your 
  4435.       applications, you may want to set this value to 128. Also, reduce this 
  4436.       value if you are using the DB/2 product or any other product that 
  4437.       provides its own disk data caching. The T parameter is not defined in the 
  4438.       default CONFIG.SYS file. It defines the  cache threshold for records that 
  4439.       go into the cache. The default value is 4. This means that any record 
  4440.       that is 4 sectors or less will go into the cache, while those greater 
  4441.       will not. If your disk cache size is 128K or larger, add this parameter 
  4442.       to the disk cache statement. If known, set this value to the largest 
  4443.       record size used. Otherwise, set the value to 32. The LW parameter 
  4444.       activates the Lazy Write or write behind feature. This allows the 
  4445.       application to get control back before the data is actually written to 
  4446.       disk. A separate thread will write the data from the cache to the disk 
  4447.       when necessary or opportune to do so. You should always use this option, 
  4448.       and code any applications to open files with cache bypass option if disk 
  4449.       data security is imperative. 
  4450.  
  4451.    7. SWAPPATH=D,R,S  SWAPPATH specifies where code and data pages are swapped 
  4452.       to on disk when more physical memory is needed than is available in your 
  4453.       system. D represents the path where your SWAPPER.DAT file is located. For 
  4454.       systems which have multiple partitions or multiple disks, this should be 
  4455.       placed on the least used  directory of the least used disk. Also, try to 
  4456.       physically locate the swap file on the disk based on its usage. If you 
  4457.       are doing a lot of swap activity, place the swap file at the start of the 
  4458.       disk. If is it rarely used, place it at the end. S is the size that the 
  4459.       swap file is initialized to when you start your Warp system. Make this 
  4460.       large enough so that it does not have to grow in size while you are 
  4461.       running your programs. You should perform your normal computer functions 
  4462.       and look at the size of the swap file when you have the most activity. 
  4463.       Then set the value of the S to this size in the CONFIG.SYS file. If you 
  4464.       are using the FAT file system, IPL your system under DOS, delete the 
  4465.       SWAPPER.DAT file, defragment the disk partition where the swap file will 
  4466.       be located, and then IPL your OS/2 system. This should keep your swap 
  4467.       file from getting fragmented. R specifies the amount of free space that 
  4468.       must be in the swap file. The default for this value is adequate and only 
  4469.       needs to be changed if you want to be warned earlier about a possible 
  4470.       out-of-memory situation. 
  4471.  
  4472.    8. THREADS=  THREADS defines how many threads the system will be able to 
  4473.       use.  One page of resident memory is need for approximately every 32 
  4474.       threads that are defined. As a minimum, you will need 80 threads to 
  4475.       support the base Warp system and 3 or 4 OS/2, DOS and or Windows 
  4476.       applications. The system will support up to 64000 threads, but typically 
  4477.       you will not have enough memory in your system to support more than 300 
  4478.       to 500 threads. 18 threads are required for LAN Server 4.0. To calculate 
  4479.       the number of threads that you will need in your system, use the formula 
  4480.       54+(2xN)+10 where N is the number of programs that you will run together. 
  4481.       If the program requires more than 2 threads, add in the additional 
  4482.       threads. 
  4483.  
  4484.  Additional CONFIG.SYS Considerations: 
  4485.  
  4486.    1. You should only install the devices drivers that your programs actually 
  4487.       need to run. 
  4488.  
  4489.    2. Do not install extra communication, printer, video or device drivers if 
  4490.       they will not be used. Below are a list of device drivers and virtual 
  4491.       device drivers that are normally found in CONFIG.SYS and that may not be 
  4492.       needed. (Virtual device drivers are used to support DOS and Windows 
  4493.       applications and usually have a V at the beginning of their name.) 
  4494.  
  4495.         a. VEMM.SYS  Used to support Expanded Memory use in DOS and Windows 
  4496.            programs. 
  4497.  
  4498.         b. VXMS.SYS  Supports Extended Memory in DOS and Windows applications. 
  4499.  
  4500.         c. VDPMI.SYS  Supports the DPMI memory access and is required to 
  4501.            support all Windows applications. 
  4502.  
  4503.         d. VW32S.SYS  Supplies support for the WIN32S Windows APIs. Not needed 
  4504.            for Windows programs that do not use WIN32S APIs. 
  4505.  
  4506.         e. IBMxFLPY.ADD  x will be either a 1 or a 2. 1 is used for family 1 
  4507.            machines and 2 is for MCA machines. You do not need both. 
  4508.  
  4509.         f. XDFLOPPY.FLT  This is required for reading diskettes which are 
  4510.            written using the XDF (Extended Disk Format) format. These are 
  4511.            usually OS/2 and PCDOS 7 installation diskettes, printer and video 
  4512.            driver diskettes. The Warp Install and Disk 1 diskettes do not use 
  4513.            the XDF format. 
  4514.  
  4515.         g. COM.SYS and VCOM.SYS are only required if you will be doing serial 
  4516.            or async  communications. 
  4517.  
  4518.  If you use the selectable CONFIG.SYS option in the Archive and Retrieve 
  4519.  feature of Warp, it is possible to create multiple CONFIG.SYS files which will 
  4520.  contain different device drivers based on your needs. For example, you could 
  4521.  create one CONFIG.SYS file that is used for maintenance and installation. This 
  4522.  one would include the XDFLOPPY.FLT and both IBMxFLPY.ADD drivers plus 
  4523.  additional threads. Another CONFIG.SYS used for normal processing could have 
  4524.  these device drivers removed and a lower number of threads. When maintenance 
  4525.  has to be applied to the system, or some additional new products installed, 
  4526.  you could IPL the machine with the Archive and Retrieval menu active and 
  4527.  select the proper CONFIG.SYS to be used. An extension of this would be to 
  4528.  archive the CONFIG.SYS and the OS/2 INI files and select those to apply 
  4529.  maintenance. 
  4530.  
  4531.  Note:  DO NOT assume that the Archive and Retrieve feature of Warp acts as a 
  4532.  means to backup the desktop. In the event of a complete disk failure, only 
  4533.  backup images stored off line can be depended upon. 
  4534.  
  4535.  
  4536. ΓòÉΓòÉΓòÉ 14.3.2. Desktop Settings ΓòÉΓòÉΓòÉ
  4537.  
  4538. Let's look at some of the System Settings and Desktop settings that can be 
  4539. tuned to improve a system's performance. In the System Setup Folder there are 
  4540. many utilities that are available. 
  4541.  
  4542. Add "SET RESTARTOBJECTS=STARTUPFOLDERSONLY" in your CONFIG.SYS to keep OS/2 
  4543. from restarting at bootup all previous open application. 
  4544.  
  4545. Spooler:  The drop-down menu provides an option to disable the spooler. This 
  4546. can be done without problems when only one job will be active on your printer 
  4547. at a time. This will save a little bit of memory and one process and thread in 
  4548. your system. If you have a dedicated print spool machine, then you should raise 
  4549. the priority of the spooler to it's highest point. For non-dedicated print 
  4550. spool systems, the priority should remain at the default. You would only 
  4551. increase this if (for example) you raised the subpriority of a DOS session and 
  4552. wanted to print documents while running the DOS session. In this case, you 
  4553. would want to make the priority of the print spooler the same as the DOS 
  4554. session. 
  4555.  
  4556. Schemes and Color Pallet:  You should use solid colors and avoid the use of 
  4557. bitmaps for desktop and folder backgrounds when conversing memory. These 
  4558. particular options use more memory and require more processing time to display 
  4559. them. 
  4560.  
  4561. Sounds:  Deselect the System Sounds options, unless you like the noises when 
  4562. opening and closing your folders. It costs between 250 and 300K in working set 
  4563. just to hear the noise. An additional 40K or so of working set can be saved by 
  4564. executing DINSTSND.CMD in an OS/2 command session. This will unhook the system 
  4565. sounds from the OS/2 desktop. To get them back, you would execute INSTSND.CMD. 
  4566.  
  4567. Font Palette:  Only install the fonts that you will actually use in your 
  4568. system. Also, try not to mix fonts in folders or on the OS/2 Desktop. If you 
  4569. do, you will be using extra memory. Outline fonts tend to be a little smaller 
  4570. in terms of memory than bitmap fonts and once they are in the cache, they 
  4571. perform just as fast. 
  4572.  
  4573. WIN-OS/2:  When defining a Windows program, select common sessions and make DDE 
  4574. and Clipboard support both private. If floating-point is used in your Windows 
  4575. applications, use the enhanced run mode for Windows. Also, if you have a 
  4576. Windows application that you always run, it is better to start it via the 
  4577. Startup Folder than to use the Fast Load option and start it from the Desktop. 
  4578. Finally, ensure that when you migrate, install or add Windows programs to you 
  4579. system, that the run mode for these is the same as the common session run mode. 
  4580. If run modes are different, then you will have two separate Windows sessions 
  4581. running even though you stated that a common session is to be used. 
  4582.  
  4583. System Setup:  Disabling the Animation and Print Screen option can save a 
  4584. little in code path and memory. Setting the System Logo option to none can save 
  4585. some time when loading applications that check this parameter to see how long 
  4586. to display their applications logo. The type-ahead option will use a little 
  4587. more memory. When selecting screen resolutions, remember that the higher the 
  4588. resolution, the more memory that is used.  Very high resolution and color 
  4589. support can require 100 to 200K of physical memory. 
  4590.  
  4591. Mouse:  Mouse pointers are basically bitmaps. The amount of memory used will be 
  4592. affected by which mouse pointer style you choose. If you activate the comet 
  4593. cursor, this will cost additional memory and processing time whenever the mouse 
  4594. is being used. 
  4595.  
  4596. Desktop Settings:  Desktop settings are selected by choosing the Settings 
  4597. option on the Desktop menu. Choosing Automatic Lockup will cause extra code 
  4598. path and processing time to occur. Normally this is very minimal, until the 
  4599. time-out value expires. Then you are looking at about 40 to 50K of working set. 
  4600. If you select Create Archive on system restarts, this will slow down your 
  4601. systems IPL time. You want to set this option only when you have changed your 
  4602. desktop and/or configuration and want to save it. Once it has been saved, turn 
  4603. this option off. You can get to the Archive Retrieve menu screen when you IPL 
  4604. your machine by using the ALT+F1 key sequence. 
  4605.  
  4606. Conclusion: 
  4607.  
  4608.    1. All the bells and whistles, neat features, applications and devices come 
  4609.       at a cost. They all cost disk space, they all use memory, and they all 
  4610.       have the potential for slowing your system down. 
  4611.  
  4612.    2. To minimize this, plan ahead. Decide what the system will be used for and 
  4613.       what your future uses will be. Then, set up the system accordingly. 
  4614.  
  4615.    3. Install only the things that you are actually going to use and need. 
  4616.       Ensure that there is a match between the software you install and the 
  4617.       hardware you install it on. 
  4618.  
  4619.    4. If an application or feature cost more memory than you have, either don't 
  4620.       install the feature, or get more memory for your system. 
  4621.  
  4622.    5. Be creative and logical. You can set the system up with different 
  4623.       configurations and different support, defined to optimize performance 
  4624.       based on the particular functions you perform and applications you use. 
  4625.  
  4626.    6. Finally, become aware of what Warp has to offer and use it to your 
  4627.       advantage. 
  4628.  
  4629.  
  4630. ΓòÉΓòÉΓòÉ 15. Glossary ΓòÉΓòÉΓòÉ
  4631.  
  4632.    1. Virtual Memory refers to the concept that available disk space is used to 
  4633.       hold inactive memory while demanding active memory can be serviced. This 
  4634.       is managed in cooperation by both the operating system (OS/2) and the 
  4635.       CPU. OS/2 deploys and takes advantage of a true Virtual Memory model by 
  4636.       using the OS/2 Swap file for temporarily holding over-committed and 
  4637.       inactive memory. 
  4638.  
  4639.    2. Swapping is a normal activity for any computer. A machine with little 
  4640.       memory (ie. 8 MB) may experience heavy "swapping". This occurs when the 
  4641.       operating system spends (more) time swapping than allowing actual work to 
  4642.       be done by the user. Install more memory. Following the Least Recently 
  4643.       Used (LRU) algorithm, OS/2 memory management will identify individual 4 
  4644.       KB memory pages as being "swappable". When not enough REAL memory is 
  4645.       present for more demanding memory pages, OS/2 swaps-out the least used. 
  4646.  
  4647.    3. Real Memory refers to the amount of physical memory installed in the 
  4648.       computer and is used in comparison to Virtual Memory. 
  4649.  
  4650.    4. Free Memory refers to the amount of actual free REAL memory available to 
  4651.       OS/2 and OS/2 programs. This will never be shown as a number higher than 
  4652.       the amount of physical memory installed in the computer. 
  4653.  
  4654.    5. Resident Memory refers to the amount of REAL memory which is not 
  4655.       swappable nor discardable usually belonging to the operating system 
  4656.       (OS/2) or applications which created the memory as non-swappable. For 
  4657.       performance reasons, the operating system will maintain critical and 
  4658.       highly active memory as Resident memory. 
  4659.  
  4660.    6. Swappable Memory refers to the amount of REAL memory which is identified 
  4661.       as noncritical or Least Recently Used (LRU algorithm) memory pages 
  4662.       capable of being swapped-out to the OS/2 swapper file until the memory is 
  4663.       in demand. The term is synonymous with "discardable" memory. 
  4664.  
  4665.    7. Print Spooler is a facility which facilitates directing print output to a 
  4666.       particular print queue without having to wait for the printer to receive 
  4667.       and print the output. 
  4668.  
  4669.    8. Print Queues are an intermediate holding place for print jobs. Related to 
  4670.       the Print Spooler, there is a 1-to-1 relationship between a Print Queue 
  4671.       and a physical printer. When a print job gets spooled into a particular 
  4672.       print queue, the print job can be automatically printed, place on hold, 
  4673.       or subsequently released for printing. 
  4674.  
  4675.    9. Process refers to 1 instance of an executing program. Every Process is 
  4676.       assigned a unique ID (hence Process ID or PID) by the operating system 
  4677.       (OS/2). Every Process ID has at least 1 Thread. A process can launch 
  4678.       another process. This makes the launching process the parent and the 
  4679.       launched process the child. Hence Parent Process ID or PPID. 
  4680.  
  4681.   10. Threads are functions created by a Process and execute asynchronous to 
  4682.       the Process.  A Process has by default 1 thread, but can create many. 
  4683.       Threads of a process have a finite life and terminate when the main 
  4684.       process ends. Every Thread is assigned a unique ID (hence Thread ID or 
  4685.       TID) by the operating system (OS/2). Each thread will have a "state" 
  4686.       which identifies whether the thread is active or waiting for a time slice 
  4687.       to be granted by OS/2. 
  4688.  
  4689.   11. Sessions are unique instances of a process which have a "screen group". A 
  4690.       Process with a Screen Group has a virtual keyboard, screen, and mouse. 
  4691.       Unlike "Detached" (Daemon) processes which execute completely in the 
  4692.       background, have no form of user input or output and are not always 
  4693.       visible to the user. When a process within a Session launches another 
  4694.       process asynchronously, the child process is assigned a unique Session ID 
  4695.       or SID. Launched synchronously, the child process inherits the same 
  4696.       Session ID as the parent. 
  4697.  
  4698.   12. Process Monitor allows the user to view the many attributes associated 
  4699.       with 1 or more Processes and their respective Threads. OS/2 maintains a 
  4700.       "Process Table" to keep track of all the processes and threads executing. 
  4701.       PM Patrol provides a very robust Process Monitor facility. Every possible 
  4702.       process and thread attribute can be monitored. 
  4703.  
  4704.   13. Time Slice refers to the operating system (OS/2) granting a process 
  4705.       thread a certain amount of CPU execution time in a multitasking 
  4706.       environment. This capability allows the user to work simultaneously on 
  4707.       many tasks. A Process can set his priority level so that OS/2 will grant 
  4708.       more time, more often. This granting of time slices is known as the 
  4709.       "Scheduler" in an operating system. 
  4710.  
  4711.   14. The OS/2 Scheduler is a very robust algorithm and integral operating 
  4712.       system component capable of servicing time critical applications in the 
  4713.       most demanding real-time environments. This, combined with stability, 
  4714.       connectivity, and maturity is why OS/2 is useful for mission critical 
  4715.       systems. 
  4716.  
  4717.   15. Preemptive Multitasking in OS/2 provides the ability to "preemptively" 
  4718.       interrupt one process without it's knowledge or control to allow another 
  4719.       process a time slice. DOS+Windows and Windows-95 attempt to preemptively 
  4720.       multitask, but suffer from architectural flaws which render them more 
  4721.       "cooperative" multitasking operating systems. True preemptive 
  4722.       multitasking operating systems such as OS/2, Windows NT, and UNIX, lend 
  4723.       themselves to mission critical and time sensitive applications. 
  4724.       Multimedia is a good example of a time sensitive application. 
  4725.  
  4726.  
  4727. ΓòÉΓòÉΓòÉ 16. Trouble Shooting ΓòÉΓòÉΓòÉ
  4728.  
  4729. This section discusses topics of potential difficulty, compatibility, and 
  4730. idiosyncrasies of PM Patrol features. Everyone should read this section. 
  4731.  
  4732. The Float to Top option does not work when the E.EXE editor is active or causes 
  4733. a 3175 error. Due to a bug in the E.EXE editor under OS/2 version 2.1 and 2.11, 
  4734. PM Patrol temporarily disables the "Float to Top" option while E.EXE is the 
  4735. active window. This bug in E.EXE is fixed in OS/2 Warp 3.0.  If this problem 
  4736. surfaces: 
  4737.  
  4738.    1. Change the "Process Monitors" in PM Patrol's "Refresh Settings" to a 
  4739.       lower value such as 3 or 4 seconds. 
  4740.  
  4741.    2. Or, turn off the "Float to Top" in the PM Patrol "Options" dialog. 
  4742.  
  4743.  A running program's priority is different than that specified in the Program 
  4744.  Launcher or Scheduler. 
  4745.  
  4746.  Note:  Once launched, a program can change it's own priority Class and Range 
  4747.  settings. This means that PM Patrol sets the program's "default" priorities 
  4748.  with those that you select, but does not control it after the program has been 
  4749.  launched. A good example of this is running Windows programs. The Win-OS/2 
  4750.  environment will typically change the priority to "Regular" for both Class and 
  4751.  Range. Therefore, Windows programs can NOT be controlled by PM Patrol for 
  4752.  priority control. 
  4753.  
  4754.  Free Memory ALWAYS reports 0 KB or maximum KB available: 
  4755.  
  4756.    1. OS/2 views memory as a flat linear address space and deploys a true 
  4757.       Virtual Memory Model. Because of this, calculation of Free Memory is 
  4758.       subject to the following constraint. 
  4759.  
  4760.       Note:  If your system hardware consists of MORE than 16 MB of memory and 
  4761.       the hard disk controller is a 16-bit adapter, Free Memory calculation may 
  4762.       not be accurately reported. Use a 32-bit disk controller when more than 
  4763.       16 MB RAM is installed. 
  4764.  
  4765.  Using another CPU monitor program causes questionable CPU results to be 
  4766.  reported by PM Patrol: The PM Patrol CPU monitor does not co-exist well when 
  4767.  other CPU monitors are used. This is nothing against PM Patrol or other CPU 
  4768.  monitors, it's just the nature of the monitor and how a CPU monitor works. 
  4769.  They are not designed to "compete" with each other. PM Patrol is "aware" of 
  4770.  other CPU monitors when they are active such as (Pulse, SPM/2, and several 
  4771.  others). When PM Patrol recognizes that another CPU monitor is active, PM 
  4772.  Patrol relinquishes CPU monitoring to this alternative monitor while it is 
  4773.  active. After which, PM Patrol will automatically restart it's CPU monitor. 
  4774.  
  4775.  Not all Monitor display items can fit on the PM Patrol Status Line: 
  4776.  
  4777.    1. PM Patrol does not expect anyone user to desire ALL PM Patrol monitors on 
  4778.       the Status Line at once and therefore does not attempt to claim they all 
  4779.       fit. However, there are a number of things that can help. 
  4780.  
  4781.    2. Enable the "Display Compact" option under "Status Line Options" of PM 
  4782.       Patrol. When enabled, all Status Line abbreviations such as "Ram", "Swp", 
  4783.       "Net", and others are removed. This option was specifically designed to 
  4784.       address this issue. 
  4785.  
  4786.    3. Depending on the font you have selected, this may be true. Try using a 
  4787.       smaller font - perhaps a VIO style font. The 2.VIO font is the smallest 
  4788.       font for a VGA system. 
  4789.  
  4790.    4. Using the "Show Decimal" option for Status Line monitors, turn this 
  4791.       option off allowing PM Patrol to round values and will free-up some 
  4792.       Status Line space. 
  4793.  
  4794.    5. Another option is to turn off the "Graphical" display of free memory or 
  4795.       CPU usage. This will then display the numeric values only. 
  4796.  
  4797.    6. If there are a lot of drives on-line, turn off the "Drives On-line" 
  4798.       monitor of PM Patrol. 
  4799.  
  4800.  PM Patrol displays Drive B when no physical Drive B exists: OS/2 supports two 
  4801.  "logical" floppy drives. A and B, even if drive B is nonexistent. In fact, if 
  4802.  you were to type "Dir B", OS/2 will prompt you to insert a diskette into drive 
  4803.  B. This demonstrates 1 physical but 2 logical drives. 
  4804.  
  4805.  Your system seems to constantly show excess CPU usage via the PM Patrol CPU 
  4806.  monitor: 
  4807.  
  4808.    1. It's not unusual with today's diverse software, multimedia, and the 
  4809.       ability to run DOS/Windows under OS/2, to see constant CPU usage. Use the 
  4810.       PM Patrol Process Monitor window to identify culprits of CPU activity. 
  4811.  
  4812.    2. Check to make sure the PM Patrol refresh rates found in "Refresh 
  4813.       Settings" are not set at their absolute most minimum values. These 
  4814.       minimum values can be too aggressive on 386-33 MHz systems (or less). 
  4815.  
  4816.    3. Make sure your not running another CPU monitor in addition to PM Patrol. 
  4817.       If you must, turn off the "CPU Monitor" in the PM Patrol "Options" 
  4818.       dialog. 
  4819.  
  4820.  With all PM Patrol Monitor windows (Process Monitor, Memory Monitor, and 
  4821.  Network Monitor) active and automatically refreshing, may be too much overhead 
  4822.  for some slower 386 class computers. Therefore, you may need to use these 
  4823.  windows selectively and not continuously. 
  4824.  
  4825.  Due to the nature and dynamics of OS/2's method of virtual memory swapping, PM 
  4826.  Patrol's calculation of free swap space is an approximation and may not result 
  4827.  in an exact calculation all the time. As compared to all PM Patrol's resource 
  4828.  monitors, swap utilization is the only one that may yield approximation. For 
  4829.  systems that are memory rich and therefore swap little, monitoring swap 
  4830.  utilization may not be necessary. 
  4831.  
  4832.  
  4833. ΓòÉΓòÉΓòÉ 17. Caveats ΓòÉΓòÉΓòÉ
  4834.  
  4835. PM Patrol is designed with special attention to performance and causes no 
  4836. system degradations when properly used. 
  4837.  
  4838. The PM Patrol defaults and minimum allowable settings for "Refresh Settings" 
  4839. protects you from system-wide degradation. However, setting the refresh rates 
  4840. at their minimum values may be too aggressive for some low-end computers. The 
  4841. overhead for PM Patrol is no more than 1-2 percent CPU load (average over 1 
  4842. minute) and only during resource sampling. 
  4843.  
  4844. Note:  The CPU effort to collect Process Meter data, although minimal when 
  4845. active, can be negatively influenced by adjusting the "Process Monitors" 
  4846. frequency in PM Patrol's "Refresh Settings" dialog too low - depending on the 
  4847. computer. As a rule of thumb, set the "Process Monitors" frequency to the 
  4848. following, but never lower: 
  4849.  
  4850.    1. 5 seconds for i386 class computers 
  4851.  
  4852.    2. 4 seconds for i486 class computers 
  4853.  
  4854.    3. 3 seconds for Pentium class computers 
  4855.  
  4856.  The Process Monitor, Memory Monitor, and Network Monitor windows create minor 
  4857.  delays in the form of brief CPU spikes. These spikes are normal and can be 
  4858.  further controlled in the PM Patrol "Refresh Settings". 
  4859.  
  4860.  Note:  With all PM Patrol Monitor windows (Process Monitor, Memory Monitor, 
  4861.  and Network Monitor) active and automatically refreshing, may be too much 
  4862.  overhead for some slower 386 class computers. Therefore, you may need to use 
  4863.  these windows selectively and not continuously. 
  4864.  
  4865.  As with all our products, we are committed to supporting and enhancing PM 
  4866.  Patrol. Due to the nature of some of the PM Patrol features (i.e. Process 
  4867.  Monitor and Process Meter) and it's unique application, compatibility with 
  4868.  future versions of OS/2 can not be 100% guaranteed. 
  4869.  
  4870.  
  4871. ΓòÉΓòÉΓòÉ 18. What's new for PM Patrol ΓòÉΓòÉΓòÉ
  4872.  
  4873. This section outlines a historical record of new features and enhancements 
  4874. applied to the PM Patrol product. 
  4875.  
  4876. These items are new in PM Patrol version 4.0b: 
  4877.  
  4878.    1. Bug fix for situations where the month of January was being abbreviated 
  4879.       as "an" instead of "Jan". 
  4880.  
  4881.  These items are new in PM Patrol version 4.0a: 
  4882.  
  4883.    1. No functional changes were applied over version 4.0. This minor release 
  4884.       is optional for current 4.0 users. 
  4885.  
  4886.    2. Revised the online help section "Order and Pricing" and the text-based 
  4887.       file ORDER.FRM to reflect new methods of ordering PM Patrol. These 
  4888.       methods include Credit Card, Compuserve SWREG, personal check, and money 
  4889.       orders. 
  4890.  
  4891.    3. Revised online help to reflect improved PM Patrol support and obtaining 
  4892.       updates by itemizing FTP and other download sites posted to directly by 
  4893.       WallyWare. Refer to online help section "Support" for details. 
  4894.  
  4895.  These items are new in PM Patrol version 4.0: 
  4896.  
  4897.    1. Due to changes in PM Patrol's profile data (PMPATROL.INI) to accommodate 
  4898.       the new release, this profile data may be re-initialized to standard 
  4899.       defaults when the new release is first invoked. 
  4900.  
  4901.    2. Significant improvement in overall visuals and interpretation of system 
  4902.       resources. This includes emphasis on new graphing functions within the PM 
  4903.       Patrol Status Line and across several new PM Patrol windows. 
  4904.  
  4905.    3. Distinctly different monitor windows which focus on categories of 
  4906.       resources. These include: 
  4907.  
  4908.         a. Network Monitor window. Provides concentration for LAN Server/Client 
  4909.            I/O traffic workstation specifics. 
  4910.  
  4911.         b. Process Monitor window. Provides concentration for OS/2 active 
  4912.            processes, threads, CPU per process, DLLs loaded, and much more. 
  4913.  
  4914.         c. Memory Monitor window. Provides concentration for OS/2 memory 
  4915.            utilization for free/used real memory, swappable, free swap, 
  4916.            resident, and other memory related items. 
  4917.  
  4918.         d. Drives Monitor window. Provides concentration for disk drives 
  4919.            on-line, utilization per drive, location/file systems, summary per 
  4920.            drive, and drive maps. 
  4921.  
  4922.         e. Port Monitor window. Provides concentration for I/O traffic and 
  4923.            performance of LPT ports with the ability to monitor 1 or more ports 
  4924.            at the packet level. Using the new Debug facility, individual 
  4925.            packets can be monitored providing "data scope" capability. When 
  4926.            DBugging is enabled for a selected LPT port, an artificial delay (1 
  4927.            second) is inserted between each packet sent to the port. 
  4928.  
  4929.    4. New Process Meter features provides unattended operation and automatic 
  4930.       collection of process statistics for determining total and average 
  4931.       run-time, CPU consumption, and run-count instance over a user controlled 
  4932.       range of time. 
  4933.  
  4934.    5. New Activity Monitor graphs highly visible/critical OS/2 resources. This 
  4935.       facility provides a "bird's eye view" of overall system utilization. Drag 
  4936.       and drop the window for precise window positioning. 
  4937.  
  4938.    6. New CPU Magnification feature enables CPU monitoring at a selectable 
  4939.       granule level. Zoom into CPU effort for fast CPUs such as highend i486 
  4940.       and Pentium systems. Up to 50 times (50x) magnification. 
  4941.  
  4942.    7. Improved Fast Find facility allows execution of programs, viewing of INF 
  4943.       files, double click selection, and more. 
  4944.  
  4945.    8. New Fast Help facility which provides very fast access to a list of 
  4946.       available on-line help for OS/2 and Windows help files. Coupled with 
  4947.       search capability, this feature enables you quick access to highly 
  4948.       accessed help books. 
  4949.  
  4950.    9. New Status Line monitor items include: 
  4951.  
  4952.         a. OS/2 free Swap Utilization 
  4953.  
  4954.         b. HPFS386 Cache read and write statistics 
  4955.  
  4956.         c. Internet Connect Time when using a modem and the PPP or SLIP 
  4957.            protocols of the IBM Internet Access Kit. Provides the ability to 
  4958.            monitor and manually reset connect-time and accumulative monitoring. 
  4959.  
  4960.   10. New Debug Facility. The high-performance real-time debugging facility 
  4961.       that goes where the interactive debugger can not. PM Patrol's new Port 
  4962.       Monitor takes advantage of this facility allowing you "data scope" 
  4963.       capabilities on a per packet basis. 
  4964.  
  4965.   11. Improved on-line help including in-depth discussion of performance tuning 
  4966.       specifics for the OS/2 environment. 
  4967.  
  4968.   12. PM Patrol's Data Collection Facility (DCF) APIs have been enhanced to 
  4969.       reflect all new monitor items introduced with this release. Due to 
  4970.       changes in the DCF data structures (since version 3.0), previously 
  4971.       written programs which use PM Patrol's C/C++ APIs will require recompile 
  4972.       to reflect the new data structures. 
  4973.  
  4974.   13. New Event Monitor notifies you when critical system activities occur or 
  4975.       thresholds are exceeded. These include CPU, Swap growth, batter low, 
  4976.       virtual memory, low disk space, and more. 
  4977.  
  4978.   14. Miscellaneous new features provide: 
  4979.  
  4980.         a. Restart Desktop allows the ability to restart the OS/2 desktop and 
  4981.            optionally select different OS/2 INI locations. 
  4982.  
  4983.         b. Idle System CPU monitoring within PM Patrol's Process Monitor 
  4984.            window. When applications consume CPU, "Idle System" will decrease. 
  4985.            When your system sits idle, "Idle System" increases. 
  4986.  
  4987.         c. Sound Bites For MMPM/2 enabled systems, PM Patrol is multimedia 
  4988.            enabled providing notifications of events, window selections, and 
  4989.            more. 
  4990.  
  4991.         d. Filter-out Background processes in the Process Monitor window to 
  4992.            allow you to focus only on "Foreground" programs active on your 
  4993.            system. 
  4994.  
  4995.         e. New Auto-Popup Menu option for quick access to the PM Patrol Utility 
  4996.            popup menu on the Status Line. 
  4997.  
  4998.         f. New Confirmations option to suppress PM Patrol from prompting you 
  4999.            before taking selected actions. 
  5000.  
  5001.         g. WorkPlace Classes option provides the ability to browse through 
  5002.            registered WorkPlace Shell classes with the capability of 
  5003.            registering new classes or deregistering classes no longer needed. 
  5004.  
  5005.         h. Close All Folders option quickly closes all open OS/2 WorkPlace 
  5006.            Shell folders. This is similar to PM Patrol's ability to also 
  5007.            quickly Minimize or Maximize all open desktop windows. 
  5008.  
  5009.            Show Decimals option enables or disables PM Patrol displaying the 
  5010.            decimal position for several of the Status Line monitors. When 
  5011.            disabled, PM Patrol will apply standard rounding across effected 
  5012.            values. 
  5013.  
  5014.         i. Forced OS/2 Shutdown for safe and dependable system shutdown when 
  5015.            the normal OS/2 shutdown services are unresponsive. 
  5016.  
  5017.         j. Windows 3.1 Enhanced-execution support for both the Scheduler and 
  5018.            Program Launcher. 
  5019.  
  5020.         k. Recalibrate PM Patrol's CPU monitors when switching between 
  5021.            Turbo/Slow mode for certain systems. 
  5022.  
  5023.         l. Quick open/close of all PM Patrol monitor windows. 
  5024.  
  5025.         m. Self-awareness of other CPU monitors making PM Patrol even more 
  5026.            stable and it's ability to coexist in diverse environments. 
  5027.  
  5028.         n. Re-organization of menus and overall consistency making PM Patrol 
  5029.            easier to use and access to its features. 
  5030.  
  5031.         o. New command line utility called FDUMP which provides the ability to 
  5032.            dump the contents of any file and display the contents in both ASCII 
  5033.            and hex representation. This utility also understands fixed record 
  5034.            lengths. 
  5035.  
  5036.         p. Total customization of colors and fonts on a per window basis across 
  5037.            the PM Patrol product. 
  5038.  
  5039.         q. Run-Time of programs in the "Process Monitor" allows viewing the 
  5040.            duration for which processes have been actively running. 
  5041.  
  5042.         r. Improved Logging services with a new Log viewer able to view log 
  5043.            data while logging is active and view very large log files 
  5044.            efficiently and ability to log process level detail and CPU per 
  5045.            active process. 
  5046.  
  5047.         s. User Defined Monitor allows you to format your own monitor to have 
  5048.            it displayed on PM patrol's main Status Line and allow it to be 
  5049.            logged. 
  5050.  
  5051.         t. Better integration to OS/2 Warp WorkPlace Shell and access to 
  5052.            frequently used objects. 
  5053.  
  5054.  These items are new in PM Patrol version 3.0: 
  5055.  
  5056.    1. Fast Find w/out limits across multiple drives. 
  5057.  
  5058.    2. Improved Process Monitor window with graphical view of CPU utilization 
  5059.       per process and thread, and priority classification. 
  5060.  
  5061.    3. Drive map with graphical view of directories and their sizes 
  5062.  
  5063.    4. New Virtual memory and Resident memory monitors 
  5064.  
  5065.    5. IBM LAN Server support includes Network I/O monitor rates for 
  5066.       workstation, Network monitor current logged-on user, and Network monitor 
  5067.       current logged-on domain. 
  5068.  
  5069.    6. Improved Print Spooler functions with remote LAN capabilities. 
  5070.  
  5071.    7. Vastly improved logging capabilities and Free Memory calculation. 
  5072.  
  5073.    8. Monitor up to six (6) logical drives. 
  5074.  
  5075.    9. Robust Program Scheduler with program priority control. 
  5076.  
  5077.   10. Security features to keep unwanted changes being made to PM Patrol 
  5078.       settings. 
  5079.  
  5080.   11. Windows 3.1 support for both the Scheduler and Program Launcher. 
  5081.  
  5082.   12. Data Collection Facility with APIs for real-time access to ALL PM Patrol 
  5083.       monitors and statistics. 
  5084.  
  5085.   13. New startup parameters offer background execution for DCF-only needs and 
  5086.       real-time responsiveness. 
  5087.  
  5088.   14. Complete printing support for local or LAN printers 
  5089.  
  5090.   15. New and improved PM Patrol Installation facility 
  5091.  
  5092.  Note:  The on-line help contains a section called "Trouble Shooting". It 
  5093.  discusses topics of potential difficulty, compatibility, and idiosyncrasies of 
  5094.  PM Patrol features. Everyone should read this section. 
  5095.  
  5096.  
  5097. ΓòÉΓòÉΓòÉ 19. Acknowledgments ΓòÉΓòÉΓòÉ
  5098.  
  5099. (c)SPM/2 and MMPM/2 for OS/2 are offered by IBM Corporation. 
  5100.  
  5101. (c)IBM LAN Server and (c)IBM LAN Requester are OS/2 network components offered 
  5102. by IBM Corporation. 
  5103.  
  5104. Windows (tm), Windows-95 (tm), and Windows NT (tm) are offered by Microsoft 
  5105. Corporation. 
  5106.  
  5107.  
  5108. ΓòÉΓòÉΓòÉ 20. Special Thanks ΓòÉΓòÉΓòÉ
  5109.  
  5110. We would like to express our sincere appreciation to everyone who assisted in 
  5111. the production of this release. Particularly, a special thanks to: 
  5112.  
  5113.    Mike Coane
  5114.    Aron Eisenpress
  5115.    Robert Finicle
  5116.    Donald Gregory
  5117.    Jeff McCauley
  5118.    Mark Saliture
  5119.    Nelson Searles
  5120.    Larry Wright
  5121.  
  5122.    Jen and Kyle
  5123.